mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
ci: Set workflow permissions
This commit is contained in:
parent
7025193763
commit
d3bd21cf8a
5 changed files with 26 additions and 2 deletions
13
.github/workflows/charts-release.yaml
vendored
13
.github/workflows/charts-release.yaml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue