Fix Helm chart workflow 403 errors by granting write permissions
The publish-helm-chart workflow was failing with 403 errors when attempting to upload Helm chart assets to GitHub releases. This was caused by the workflow having only 'contents: read' permission. Changed to 'contents: write' to allow the 'gh release upload' command to succeed.
This commit is contained in:
parent
fa7ca00250
commit
3eafd00c88
1 changed files with 1 additions and 1 deletions
2
.github/workflows/publish-helm-chart.yml
vendored
2
.github/workflows/publish-helm-chart.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
name: Package and Push Helm Chart
|
name: Package and Push Helm Chart
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: write # Required for gh release upload
|
||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue