[ci] Also give permissions on pull_requests (#32709)

Missed one
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32709).
* #32708
* __->__ #32709
This commit is contained in:
lauren
2025-03-21 16:17:15 -04:00
committed by GitHub
parent fe8c10695c
commit 4f080e498c
@@ -24,8 +24,10 @@ jobs:
runs-on: ubuntu-latest
needs: check_maintainer
permissions:
# Used to add labels
# Used to add labels on issues
issues: write
# Used to add labels on PRs
pull-requests: write
steps:
- name: Label PR as React Core Team
uses: actions/github-script@v7