From 18647121436e534469fbfa5ce89787be19c9c815 Mon Sep 17 00:00:00 2001 From: Martin Buchleitner Date: Mon, 13 May 2024 08:53:53 +0200 Subject: [PATCH] fix: refs to secrets are passed not inherited Signed-off-by: Martin Buchleitner --- .github/workflows/changelog-automation.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/changelog-automation.yml b/.github/workflows/changelog-automation.yml index d9c3476..a253e28 100644 --- a/.github/workflows/changelog-automation.yml +++ b/.github/workflows/changelog-automation.yml @@ -8,14 +8,15 @@ on: description: 'The GitHub token for the bot account' required: true - jobs: prebuild: uses: ./.github/workflows/pre-commit.yml - secrets: inherit + secrets: + BOT_ACCESS_TOKEN: secrets.BOT_ACCESS_TOKEN release: needs: [ prebuild ] if: github.event_name != 'pull_request' uses: ./.github/workflows/release.yml - secrets: inherit + secrets: + BOT_ACCESS_TOKEN: secrets.BOT_ACCESS_TOKEN