Use secrets: inherit.

This commit is contained in:
Patrick Lehmann
2025-04-26 18:35:58 +02:00
parent 1b6454ba91
commit 39ae93c200
5 changed files with 11 additions and 21 deletions

View File

@@ -45,11 +45,9 @@ jobs:
uses: ./.github/workflows/NightlyRelease.yml
needs:
- Build
secrets: inherit
permissions:
contents: write
actions: write
# attestations: write
actions: write
with:
can-fail: true
prerelease: true
@@ -78,16 +76,15 @@ jobs:
document:$archive7.tar.gz: Archive 7 - tar.gz + dir
document:$archive8.tzst: Archive 8 - tzst + dir
document:$archive9.tar.zst:Archive 9 - tar.zst + dir
secrets: inherit
NightlyPageWithInventory:
uses: ./.github/workflows/NightlyRelease.yml
needs:
- Build
secrets: inherit
permissions:
contents: write
actions: write
# attestations: write
actions: write
with:
can-fail: true
replacements: |
@@ -121,3 +118,4 @@ jobs:
document:$archive7.tar.gz: Archive 7 - tar.gz + dir
document:$archive8.tzst: Archive 8 - tzst + dir
document:$archive9.tar.zst: Archive 9 - tar.zst + dir
secrets: inherit