@samitouri / QOS-React / commits / c2ac8b4f0e

[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.

lauren committed Aug 20, 2025 at 17:09 UTC c2ac8b4f0e000e4e2000f0ea6d11673431191e4d
1 file changed +1
.github/workflows/shared_close_direct_sync_branch_prs.yml
+1
@@ -18,6 +18,7 @@ jobs:
18 permissions:
19 # Used to create a review and close PRs
20 pull-requests: write
21 + contents: write
22 steps:
23 - name: Close PR
24 uses: actions/github-script@v7