Skip to content

Commit 3c5e4b9

Browse files
committed
Grant workflows permission so sync can push upstream workflow files
GITHUB_TOKEN requires the workflows scope to push branches that contain changes to .github/workflows/. Without it GitHub rejects the push when the upstream release includes new or modified workflows.
1 parent 28ddb99 commit 3c5e4b9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/teal-sync-upstream-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
permissions:
1717
contents: write
1818
pull-requests: write
19+
workflows: write
1920

2021
steps:
2122
- name: Checkout fork

0 commit comments

Comments
 (0)