Skip to content

Commit 086eea8

Browse files
authored
GHA: Pass secrets to publish-release workflow (#431)
When invoking the publish-release from the checks workflows on main, pass all secrets. This is required for PYPI secrets to be available.
1 parent b627668 commit 086eea8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
- check
126126
if: github.ref == 'refs/heads/main'
127127
uses: ./.github/workflows/publish-release.yml
128+
secrets: inherit # pass all secrets (required to access secrets in a called workflow)
128129
with:
129130
pypi_target: "test.pypi.org"
130131
repo_release_ref: "main"

0 commit comments

Comments
 (0)