Skip to content

Commit

Permalink
Update notify-gh-discussions-to-slack.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gmourier authored Jun 8, 2023
1 parent 01531af commit 4018872
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/notify-gh-discussions-to-slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@ name: GitHub Discussions To Slack Notifier
on:
discussion:
types: [created]
discussion_comment:
types: [created]

jobs:
notify-github-discussions:
runs-on: ubuntu-latest
steps:
- uses: gmourier/gh-discussions-to-slack@v0.1.0
- uses: gmourier/gh-discussions-to-slack@v0.2.0
with:
SLACK_CHANNEL_ID: ${{secrets.SLACK_CHANNEL_ID}}
SLACK_BOT_TOKEN: ${{secrets.SLACK_BOT_TOKEN}}
send-discussion-create: true
send-discussion-comment: false

0 comments on commit 4018872

Please sign in to comment.