From c2ac8b4f0e000e4e2000f0ea6d11673431191e4d Mon Sep 17 00:00:00 2001 From: lauren Date: Wed, 20 Aug 2025 17:09:38 -0400 Subject: [PATCH] [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. --- .github/workflows/shared_close_direct_sync_branch_prs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/shared_close_direct_sync_branch_prs.yml b/.github/workflows/shared_close_direct_sync_branch_prs.yml index 01db090740..caa4da880b 100644 --- a/.github/workflows/shared_close_direct_sync_branch_prs.yml +++ b/.github/workflows/shared_close_direct_sync_branch_prs.yml @@ -18,6 +18,7 @@ jobs: permissions: # Used to create a review and close PRs pull-requests: write + contents: write steps: - name: Close PR uses: actions/github-script@v7