Skip to content

Commit

Permalink
ci: Update github token permissions (#16213)
Browse files Browse the repository at this point in the history
Signed-off-by: Roger Barker <[email protected]>
  • Loading branch information
rbarkerSL authored Oct 29, 2024
1 parent 0531f26 commit b7fab35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/zxcron-extended-test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

permissions:
id-token: write
actions: read
actions: write
pull-requests: write
statuses: write
checks: write
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
if [[ "${BRANCH_ON_DEVELOP}" -eq 0 ]]; then
echo "xts-tag-exists=true" >> $GITHUB_OUTPUT
echo "xts-tag-commit=${XTS_COMMIT}" >> $GITHUB_OUTPUT
echo "### Commit has been tagged as an XTS-Candidate" >> $GITHUB_STEP_SUMMARY
echo "### XTS-Candidate commit found" >> $GITHUB_STEP_SUMMARY
echo "xts-tag-commit=${XTS_COMMIT}" >> $GITHUB_STEP_SUMMARY
git push --delete origin "${XTS_CANDIDATE_TAG}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zxcron-promote-build-candidate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
- cron: '0 20 * * *'

permissions:
actions: read
actions: write
contents: read
statuses: write

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/zxf-prepare-extended-test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ defaults:
shell: bash

permissions:
actions: write
contents: write

env:
Expand Down

0 comments on commit b7fab35

Please sign in to comment.