Skip to content

Commit 18d4f4f

Browse files
committed
gha/sync-release-branch: Use actions write permission
`workflows` is not a supported GITHUB_TOKEN permission key, so GitHub rejects the workflow definition. Use the valid `actions` permission for both jobs. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
1 parent 1423089 commit 18d4f4f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/sync-release-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-24.04
3030
permissions:
3131
contents: write
32-
workflows: write
32+
actions: write
3333
outputs:
3434
base_sha: ${{ steps.sync.outputs.base_sha }}
3535
has_changes: ${{ steps.sync.outputs.has_changes }}
@@ -120,7 +120,7 @@ jobs:
120120
environment: docker-releases
121121
permissions:
122122
contents: write
123-
workflows: write
123+
actions: write
124124
timeout-minutes: 10
125125
steps:
126126
- name: Checkout

0 commit comments

Comments
 (0)