Skip to content

Commit fd4b5aa

Browse files
Discord Threads for 'help wanted' issues (#2960)
* Added discuss_on_discord extension * Added workflow to create threads for help wanted issues on discord * Update .github/workflows/discord_issues.yml Co-authored-by: vfdev <vfdev.5@gmail.com> --------- Co-authored-by: vfdev <vfdev.5@gmail.com>
1 parent 9b4bef8 commit fd4b5aa

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
issues:
3+
types:
4+
- labeled
5+
workflow_dispatch:
6+
inputs:
7+
issue_number:
8+
description: 'Issue number'
9+
required: true
10+
11+
permissions:
12+
issues: write
13+
14+
jobs:
15+
discord:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Discuss on Discord
19+
uses: EndBug/discuss-on-discord@v1.1.0
20+
if: ${{ github.event.label.name == 'help wanted' }}
21+
with:
22+
discord_bot_token: ${{ secrets.DISCORD_BOT_TOKEN }}
23+
destination: ${{ secrets.DISCORD_BOT_DESTINATION }}
24+
issue_number: ${{ github.event.inputs.issue_number || github.event.issue.number }}
25+
issue_comment: Hey 👋, I've just created a [thread]($THREAD_LINK$) for this issue on [PyTorch-Ignite Discord](https://pytorch-ignite.ai/chat) where you can quickly talk to the community on the topic.

0 commit comments

Comments
 (0)