File tree Expand file tree Collapse file tree 7 files changed +32
-10
lines changed
reference/react-dom/hooks Expand file tree Collapse file tree 7 files changed +32
-10
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
5557 name : bundle_analysis.json
5658
5759 - name : Download base branch bundle stats
58- uses : dawidd6/action-download-artifact@v2
60+ uses : dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e
5961 if : success() && github.event.number
6062 with :
6163 workflow : analyze.yml
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
@@ -14,15 +16,15 @@ jobs:
1416 github.event.workflow_run.conclusion == 'success' }}
1517 steps :
1618 - name : Download base branch bundle stats
17- uses : dawidd6/action-download-artifact@v2
19+ uses : dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e
1820 with :
1921 workflow : analyze.yml
2022 run_id : ${{ github.event.workflow_run.id }}
2123 name : analysis_comment.txt
2224 path : analysis_comment.txt
2325
2426 - name : Download PR number
25- uses : dawidd6/action-download-artifact@v2
27+ uses : dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e
2628 with :
2729 workflow : analyze.yml
2830 run_id : ${{ github.event.workflow_run.id }}
4850 echo "pr-number=$pr_number" >> $GITHUB_OUTPUT
4951
5052 - name : Comment
51- uses : marocchino/sticky-pull-request-comment@v2
53+ uses : marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728
5254 with :
5355 header : next-bundle-analysis
5456 number : ${{ steps.get-comment-body.outputs.pr-number }}
Original file line number Diff line number Diff line change 44 pull_request_target :
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 }}
12- is_remote : true
1317
1418 notify :
1519 if : ${{ needs.check_maintainer.outputs.is_core_team == 'true' }}
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: Label Core Team PRs
33on :
44 pull_request_target :
55
6+ permissions : {}
7+
68env :
79 TZ : /usr/share/zoneinfo/America/Los_Angeles
810 # https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
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 }}
16- is_remote : true
1721
1822 label :
1923 if : ${{ needs.check_maintainer.outputs.is_core_team == 'true' }}
2024 runs-on : ubuntu-latest
2125 needs : check_maintainer
26+ permissions :
27+ # Used to add labels on issues
28+ issues : write
29+ # Used to add labels on PRs
30+ pull-requests : write
2231 steps :
2332 - name : Label PR as React Core Team
2433 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
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet
4747## Colombia {/* colombia* /}
4848* [ Medellin] ( https://www.meetup.com/React-Medellin/ )
4949
50+ ## Czechia {/* czechia* /}
51+ * [ Prague] ( https://guild.host/react-prague/ )
52+
5053## Denmark {/* denmark* /}
5154* [ Aalborg] ( https://www.meetup.com/Aalborg-React-React-Native-Meetup/ )
5255* [ Aarhus] ( https://www.meetup.com/Aarhus-ReactJS-Meetup/ )
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ The `react-dom` package contains Hooks that are only supported for web applicati
1414
1515* Forms* let you create interactive controls for submitting information. To manage forms in your components, use one of these Hooks:
1616
17- * [ ` useFormStatus ` ] ( /reference/react-dom/hooks/useFormStatus ) allows you to make updates to the UI based on the status of the a form.
17+ * [ ` useFormStatus ` ] ( /reference/react-dom/hooks/useFormStatus ) allows you to make updates to the UI based on the status of a form.
1818
1919``` js
2020function Form ({ action }) {
You can’t perform that action at this time.
0 commit comments