ci: Set workflow permissions

This commit is contained in:
Bernd Schorgers 2025-04-24 08:03:41 +02:00
parent 7025193763
commit d3bd21cf8a
No known key found for this signature in database
5 changed files with 26 additions and 2 deletions

View file

@ -17,6 +17,9 @@ on:
paths:
- "charts/**"
permissions:
contents: read
jobs:
prepare:
name: Prepare data required for workflow
@ -127,6 +130,11 @@ jobs:
chart: ${{ fromJSON(needs.prepare.outputs.libraryChartsToRelease) }}
fail-fast: false
max-parallel: 1
permissions:
pages: write
id-token: write
contents: write
packages: write
uses: ./.github/workflows/chart-release-steps.yaml
with:
chart: ${{ matrix.chart }}
@ -151,6 +159,11 @@ jobs:
chart: ${{ fromJSON(needs.prepare.outputs.otherChartsToRelease) }}
fail-fast: false
max-parallel: 1
permissions:
pages: write
id-token: write
contents: write
packages: write
uses: ./.github/workflows/chart-release-steps.yaml
with:
chart: ${{ matrix.chart }}