Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rscohn2 committed Apr 16, 2024
1 parent 7560e78 commit 98ce57f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ jobs:
id: check
run: |
if [[ "${{ github.event.pull_request.title }}" == *"RFC"* ]]; then
echo "::set-output name=notify::true"
else
echo "::set-output name=notify::false"
echo "NOTIFY_SLACK=true" >> $GITHUB_ENV
fi
- name: Notify Slack
if: steps.check.outputs.notify == 'true'
if: env.NOTIFY_SLACK == 'true'
uses: slackapi/[email protected]
with:
channel-id: "rc-test"
slack-message: "${{ github.actor }} opened a new RFC: ${{ github.event.pull_request.title }}"
slack-channel: '#wg-spec'
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 98ce57f

Please sign in to comment.