File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 29
29
publish_prerelease :
30
30
name : Publish prelease (${{ inputs.release_channel }}) ${{ inputs.commit_sha }} @${{ inputs.dist_tag }}
31
31
runs-on : ubuntu-latest
32
+ permissions :
33
+ # We use github.token to download the build artifact from a previous runtime_build_and_test.yml run
34
+ actions : read
32
35
steps :
33
36
- uses : actions/checkout@v4
34
37
- uses : actions/setup-node@v4
Original file line number Diff line number Diff line change 16
16
publish_prerelease_canary :
17
17
name : Publish to Canary channel
18
18
uses : facebook/react/.github/workflows/runtime_prereleases.yml@main
19
+ permissions :
20
+ # We use github.token to download the build artifact from a previous runtime_build_and_test.yml run
21
+ actions : read
19
22
with :
20
23
commit_sha : ${{ inputs.prerelease_commit_sha }}
21
24
release_channel : stable
36
39
publish_prerelease_experimental :
37
40
name : Publish to Experimental channel
38
41
uses : facebook/react/.github/workflows/runtime_prereleases.yml@main
42
+ permissions :
43
+ # We use github.token to download the build artifact from a previous runtime_build_and_test.yml run
44
+ actions : read
39
45
# NOTE: Intentionally running these jobs sequentially because npm
40
46
# will sometimes fail if you try to concurrently publish two
41
47
# different versions of the same package, even if they use different
Original file line number Diff line number Diff line change 14
14
publish_prerelease_canary :
15
15
name : Publish to Canary channel
16
16
uses : facebook/react/.github/workflows/runtime_prereleases.yml@main
17
+ permissions :
18
+ # We use github.token to download the build artifact from a previous runtime_build_and_test.yml run
19
+ actions : read
17
20
with :
18
21
commit_sha : ${{ github.sha }}
19
22
release_channel : stable
24
27
publish_prerelease_experimental :
25
28
name : Publish to Experimental channel
26
29
uses : facebook/react/.github/workflows/runtime_prereleases.yml@main
30
+ permissions :
31
+ # We use github.token to download the build artifact from a previous runtime_build_and_test.yml run
32
+ actions : read
27
33
# NOTE: Intentionally running these jobs sequentially because npm
28
34
# will sometimes fail if you try to concurrently publish two
29
35
# different versions of the same package, even if they use different
You can’t perform that action at this time.
0 commit comments