@samitouri / QOS-React / commits / de4aad5ba6

[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

lauren committed Mar 21, 2025 at 18:01 UTC de4aad5ba693be099b215b5819b5f25d05051a84
1 file changed +6
.github/workflows/runtime_commit_artifacts.yml
+6
@@ -203,6 +203,9 @@ jobs:
203 needs: [download_artifacts, process_artifacts]
204 if: inputs.force == true || (github.ref == 'refs/heads/main' && needs.process_artifacts.outputs.www_branch_count == '0')
205 runs-on: ubuntu-latest
206 + permissions:
207 + # Used to push a commit to builds/facebook-www
208 + contents: write
209 steps:
210 - uses: actions/checkout@v4
211 with:
@@ -289,6 +292,9 @@ jobs:
292
293 commit_fbsource_artifacts:
294 needs: [download_artifacts, process_artifacts]
295 + permissions:
296 + # Used to push a commit to builds/facebook-fbsource
297 + contents: write
298 if: inputs.force == true || (github.ref == 'refs/heads/main' && needs.process_artifacts.outputs.fbsource_branch_count == '0')
299 runs-on: ubuntu-latest
300 steps: