Send GitHub new discussion thread to Slack #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Send GitHub new discussion thread to Slack | |
on: | |
discussion: | |
types: [created] | |
jobs: | |
discussion-created: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send discussion thread to Slack | |
uses: slackapi/[email protected] | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_DISCUSSION }} |