Skip to content

Commit

Permalink
[actions] Add permissions block to the 'update-single-platform-branch…
Browse files Browse the repository at this point in the history
…es' action. (#20441)

It only took me two and a half months to notice the action wasn't working...
  • Loading branch information
rolfbjarne committed Apr 12, 2024
1 parent 0ff184c commit 0cc3621
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/update-single-platform-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
updateSinglePlatformBranches:
name: Merge main into single-platform release test branches
runs-on: ubuntu-latest
# GITHUB_TOKEN change from read-write to read-only on 2024-02-01 requires permissions block
# https://docs.opensource.microsoft.com/github/apps/permission-changes/
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
contents: write

steps:
- name: Checkout repo
Expand Down

0 comments on commit 0cc3621

Please sign in to comment.