[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.
This commit is contained in:
lauren
2025-08-20 17:09:38 -04:00
committed by GitHub
parent 03fda05d2c
commit c2ac8b4f0e

View File

@@ -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