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:
Nazar Hussain
2025-12-10 16:57:09 +01:00
committed by GitHub
parent f231d7e8ff
commit 255e56fb68

View File

@@ -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