mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-09 15:48:08 -05:00
chore: pass secrets to nested publish workflows (#8684)
**Motivation** Pass the workflow secrets in scenario of nested workflows. **Description** - Use `secrets: inherit` in case of workflows.
This commit is contained in:
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -25,6 +25,7 @@ jobs:
|
||||
!contains(github.ref_name, '-alpha')
|
||||
)
|
||||
uses: ./.github/workflows/publish-stable.yml
|
||||
secrets: inherit
|
||||
|
||||
publish-rc:
|
||||
if: |
|
||||
@@ -34,11 +35,14 @@ jobs:
|
||||
contains(github.ref_name, '-alpha')
|
||||
)
|
||||
uses: ./.github/workflows/publish-rc.yml
|
||||
secrets: inherit
|
||||
|
||||
# publish-nextfork:
|
||||
# if: github.ref == 'refs/heads/peerDAS'
|
||||
# uses: ./.github/workflows/publish-next-fork.yml
|
||||
# secrets: inherit
|
||||
|
||||
publish-dev:
|
||||
if: github.ref == 'refs/heads/unstable'
|
||||
uses: ./.github/workflows/publish-dev.yml
|
||||
secrets: inherit
|
||||
|
||||
Reference in New Issue
Block a user