Skip to content

Commit

Permalink
ci: Secret Inheritence
Browse files Browse the repository at this point in the history
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
  • Loading branch information
techman83 committed Sep 22, 2024
1 parent b783be9 commit 34afee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:
jobs:
sign-assets:
uses: ./.github/workflows/sign.yml
secrets: inherit

check-dev-build:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
jobs:
sign-assets:
uses: ./.github/workflows/sign.yml
secrets: inherit

upload-nuget:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 34afee5

Please sign in to comment.