Skip to content

Commit de4aad5

Browse files
authored
[ci] Add missing permissions to runtime_commit_artifacts.yml (#32710)
Turns out we need permissions to write to `contents` after all. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32710). * #32711 * __->__ #32710
1 parent 156f0ec commit de4aad5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/runtime_commit_artifacts.yml

+6
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ jobs:
203203
needs: [download_artifacts, process_artifacts]
204204
if: inputs.force == true || (github.ref == 'refs/heads/main' && needs.process_artifacts.outputs.www_branch_count == '0')
205205
runs-on: ubuntu-latest
206+
permissions:
207+
# Used to push a commit to builds/facebook-www
208+
contents: write
206209
steps:
207210
- uses: actions/checkout@v4
208211
with:
@@ -289,6 +292,9 @@ jobs:
289292

290293
commit_fbsource_artifacts:
291294
needs: [download_artifacts, process_artifacts]
295+
permissions:
296+
# Used to push a commit to builds/facebook-fbsource
297+
contents: write
292298
if: inputs.force == true || (github.ref == 'refs/heads/main' && needs.process_artifacts.outputs.fbsource_branch_count == '0')
293299
runs-on: ubuntu-latest
294300
steps:

0 commit comments

Comments
 (0)