Skip to content

Commit 1aacb2d

Browse files
committed
ci: add minimum GitHub token permissions for workflows
Signed-off-by: Ashish Kurmi <[email protected]>
1 parent 8ab6bb0 commit 1aacb2d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/cd-helm-workflow.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,14 @@ on:
2222
- 'aio/scripts/helm-release-chart.sh'
2323
- '.github/workflows/cd-helm-workflow.yml'
2424

25+
permissions:
26+
contents: read
27+
2528
jobs:
2629
release:
30+
permissions:
31+
contents: write # for ad-m/github-push-action to push local changes
32+
pull-requests: write # for repo-sync/pull-request to create pull requests
2733
name: Helm Chart Release
2834
runs-on: ubuntu-latest
2935

0 commit comments

Comments
 (0)