File tree Expand file tree Collapse file tree 5 files changed +26
-5
lines changed Expand file tree Collapse file tree 5 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 77 - main # change this if your default branch is named differently
88 workflow_dispatch :
99
10+ permissions : {}
11+
1012jobs :
1113 analyze :
1214 runs-on : ubuntu-latest
2325 - name : Restore cached node_modules
2426 uses : actions/cache@v4
2527 with :
26- path : " **/node_modules"
28+ path : ' **/node_modules'
2729 key : node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
2830
2931 - name : Install deps
Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ name: Analyze Bundle (Comment)
22
33on :
44 workflow_run :
5- workflows : [" Analyze Bundle" ]
5+ workflows : [' Analyze Bundle' ]
66 types :
77 - completed
88
9+ permissions : {}
10+
911jobs :
1012 comment :
1113 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11name : Discord Notify
22
33on :
4- pull_request_target :
4+ pull_request :
55 types : [opened, ready_for_review]
66
7+ permissions : {}
8+
79jobs :
810 check_maintainer :
911 uses : facebook/react/.github/workflows/shared_check_maintainer.yml@main
12+ permissions :
13+ # Used by check_maintainer
14+ contents : read
1015 with :
1116 actor : ${{ github.event.pull_request.user.login }}
1217 is_remote : true
Original file line number Diff line number Diff line change 11name : Label Core Team PRs
22
33on :
4- pull_request_target :
4+ pull_request :
5+
6+ permissions : {}
57
68env :
79 TZ : /usr/share/zoneinfo/America/Los_Angeles
1113jobs :
1214 check_maintainer :
1315 uses : facebook/react/.github/workflows/shared_check_maintainer.yml@main
16+ permissions :
17+ # Used by check_maintainer
18+ contents : read
1419 with :
1520 actor : ${{ github.event.pull_request.user.login }}
1621 is_remote : true
1924 if : ${{ needs.check_maintainer.outputs.is_core_team == 'true' }}
2025 runs-on : ubuntu-latest
2126 needs : check_maintainer
27+ permissions :
28+ # Used to add labels on issues
29+ issues : write
30+ # Used to add labels on PRs
31+ pull-requests : write
2232 steps :
2333 - name : Label PR as React Core Team
2434 uses : actions/github-script@v7
Original file line number Diff line number Diff line change 77 pull_request :
88 types : [opened, synchronize, reopened]
99
10+ permissions : {}
11+
1012jobs :
1113 lint :
1214 runs-on : ubuntu-latest
2527 - name : Restore cached node_modules
2628 uses : actions/cache@v4
2729 with :
28- path : " **/node_modules"
30+ path : ' **/node_modules'
2931 key : node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
3032
3133 - name : Install deps
You can’t perform that action at this time.
0 commit comments