From d3204b1efbff3519f2b9709e3ab0e4effc31bcf1 Mon Sep 17 00:00:00 2001 From: Jamie Kuppens Date: Fri, 14 Jun 2024 13:24:53 -0700 Subject: [PATCH] Replace inherit with explicit secret passing Inherit won't work in our use-case. We have to pass OSS_SLACK_NOTIFICATION_WEBHOOK_URL explicitly for the job to use it properly. --- .github/workflows/pull-request-opened-notify-slack.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-opened-notify-slack.yml b/.github/workflows/pull-request-opened-notify-slack.yml index 6efe2a1..28432a2 100644 --- a/.github/workflows/pull-request-opened-notify-slack.yml +++ b/.github/workflows/pull-request-opened-notify-slack.yml @@ -7,4 +7,5 @@ jobs: send-slack-notification: if: github.event.pull_request.merged == false uses: thisdot/shared-actions/.github/workflows/pull-request-opened-notify-slack.yml@main - secrets: inherit + secrets: + OSS_SLACK_NOTIFICATION_WEBHOOK_URL: ${{ secrets.OSS_SLACK_NOTIFICATION_WEBHOOK_URL }}