endbug/Discuss on Discord
A GitHub action that creates a thread on Discord for every issue
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| discord_bot_token | The token to use to communicate with the Discord API | yes | — |
| destination | The link to the message or channel to post messages and create threads in. If a channel link is used, the thread will be created on a new message in that channel. Otherwise, the thread will be created on the linked message. | yes | — |
| discord_message | The body of the message to send in the Discord channel (if any) | — | New issue in `${{ github.repository }}`: <https://github.com/${{ github.repository }}/issues/${{ github.event.issue.number }}> |
| existing_discord_thread | The link to the existing Discord thread to use | — | "" |
| issue_comment | The body of the comment to post on the issue; set it to an empty string to disable issue comments. Any match of `$THREAD_LINK$` will be replaced with the link to the Discord thread. | — | Hey 👋, I've just created a thread on Discord for this issue, you can find it [here]($THREAD_LINK$) |
| issue_comment_tag | Whether to include a link to the action at the end of the GitHub comment | — | true |
| issue_number | The issue number to create a thread for | — | ${{ github.event.issue.number }} |
| issue_repo | The repository that the issue is in | — | ${{ github.repository }} |
| github_token | The token to use to communicate with the GitHub API | — | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| comment_id | The ID of the comment that was posted on the issue |
| comment_link | The link to the comment that was posted on the issue |
| thread_id | The ID of the thread that was created |
| thread_link | The link to the thread that was created |