From 98ce57f3923a92107d749b830c0b23e5dcd0fdfd Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Tue, 16 Apr 2024 08:18:36 -0500 Subject: [PATCH] update --- .github/workflows/slack.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/slack.yaml b/.github/workflows/slack.yaml index d31f4b3..0f6d044 100644 --- a/.github/workflows/slack.yaml +++ b/.github/workflows/slack.yaml @@ -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/slack-github-action@v1.25.0 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 }}