From b926432005b3ca27a2fefe9e49eaf0782f1084d6 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 12 Apr 2024 17:50:44 +0200 Subject: [PATCH] [actions] Add permissions block to the 'update-single-platform-branches' action. It only took me two and a half months to notice the action wasn't working... --- .github/workflows/update-single-platform-branches.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/update-single-platform-branches.yml b/.github/workflows/update-single-platform-branches.yml index 3a57e0cc4e31..fec038ae61b7 100644 --- a/.github/workflows/update-single-platform-branches.yml +++ b/.github/workflows/update-single-platform-branches.yml @@ -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