From 63e7ef1899af9854cf248a0d2cb620b5b13de1e8 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Tue, 16 Apr 2024 08:35:13 -0500 Subject: [PATCH] update --- .github/workflows/slack.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/slack.yaml b/.github/workflows/slack.yaml index 7c07938..a3e6c94 100644 --- a/.github/workflows/slack.yaml +++ b/.github/workflows/slack.yaml @@ -1,6 +1,7 @@ name: Slack PR Notification on: - pull_request: + # pull request target uses base and has access to secrets + pull_request_target: types: [opened, reopened] jobs: @@ -20,5 +21,4 @@ jobs: channel-id: "rc-test" slack-message: "${{ github.actor }} opened a new RFC: ${{ github.event.pull_request.title }}" env: - SLACK_BOT_TOKEN: ${{ secrets.XXX }} - #SLACK_BOT_TOKEN: foobar + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}