Skip to content

Commit

Permalink
fix: set actions:read permission (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
JossWhittle authored Feb 8, 2024
1 parent a9e6fce commit 6629f37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ on:
- 'charts/helloworld/**'

permissions:
# Permission needed to author a Github release
actions: read
contents: write
# pull-request: write if you enable PR thread comments
pull-requests: read

concurrency:
Expand Down Expand Up @@ -66,4 +65,4 @@ jobs:
release-tag-format: 'charts-v${version}'
slack-channel: ${{ vars.SLACK_CHANNEL }}
secrets:
slack-token: ${{ secrets.SLACK_TOKEN }}
slack-token: ${{ secrets.SLACK_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ on:
- 'containers/whalesay2/**'

permissions:
# Permission needed to author a Github release
actions: read
contents: write
# pull-request: write if you enable PR thread comments
pull-requests: read

concurrency:
Expand Down

0 comments on commit 6629f37

Please sign in to comment.