Skip to content

Commit c2ac8b4

Browse files
authored
[ci] Fix permissions for direct sync branch PRs workflow (#34241)
Because we sync built artifacts into Meta, we can't support edits from inside www/fbsource to be synced back into OSS as it would cause merge conflicts for future OSS PRs. We have a workflow that should automatically catch and close these PRs, but it looks like this one was missing one permission.
1 parent 03fda05 commit c2ac8b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/shared_close_direct_sync_branch_prs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
permissions:
1919
# Used to create a review and close PRs
2020
pull-requests: write
21+
contents: write
2122
steps:
2223
- name: Close PR
2324
uses: actions/github-script@v7

0 commit comments

Comments
 (0)