[actions] Add permissions block to the 'update-single-platform-branches' action. (#20441)

It only took me two and a half months to notice the action wasn't working...
This commit is contained in:
Rolf Bjarne Kvinge 2024-04-12 18:30:38 +02:00 коммит произвёл GitHub
Родитель 0ff184cd06
Коммит 0cc3621984
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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