[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
lauren committed
Mar 21, 2025 at 16:17 UTC
4f080e498c4c0b373b3e1a8b0e735fceb83c267b
1 file changed
+3
-1
.github/workflows/shared_label_core_team_prs.yml
+3
-1
@@ -24,8 +24,10 @@ jobs:
24
runs-on: ubuntu-latest
25
needs: check_maintainer
26
permissions:
27
- # Used to add labels
27
+ # Used to add labels on issues
28
issues: write
29
+ # Used to add labels on PRs
30
+ pull-requests: write
31
steps:
32
- name: Label PR as React Core Team
33
uses: actions/github-script@v7