From 34afee5226b9e47f74d8f5f63e2600b8c5731d55 Mon Sep 17 00:00:00 2001 From: Leon Wright Date: Sun, 22 Sep 2024 13:34:35 +0930 Subject: [PATCH] ci: Secret Inheritence Shared workflows do not automatically get access to the secrets from the parent workflow. Either secrets must be passed through individually or you can choose to inherit them --- .github/workflows/deploy.yml | 1 + .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e20c771f6..a495f33db 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,6 +17,7 @@ env: jobs: sign-assets: uses: ./.github/workflows/sign.yml + secrets: inherit check-dev-build: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28ab7bbb0..49830588b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,7 @@ env: jobs: sign-assets: uses: ./.github/workflows/sign.yml + secrets: inherit upload-nuget: runs-on: ubuntu-latest