Skip to content

Commit 4e906f1

Browse files
authored
[ci] Fix scheduled Rspack test job (#98508)
This workflow is responsible for periodically updating the manifest. The workflow broke in #97590 since the [called workflow requires `pull_request: write`](https://github.com/vercel/next.js/blob/626ab223bae3f9b29b3ec8cbd18a58d86b871ec1/.github/workflows/integration_tests_reusable.yml#L172) to open the update PR. Fixes ``` [Invalid workflow file: .github/workflows/rspack-nextjs-build-integration-tests.yml#L10](https://github.com/vercel/next.js/actions/runs/34439645923/workflow) The workflow is not valid. .github/workflows/rspack-nextjs-build-integration-tests.yml (Line: 10, Col: 3): Error calling workflow 'vercel/next.js/.github/workflows/integration_tests_reusable.yml@334052f'. The nested job 'collect_nextjs_development_integration_stat' is requesting 'pull-requests: write', but is only allowed 'pull-requests: none'. ``` -- https://github.com/vercel/next.js/actions/runs/34439645923
1 parent 87edae5 commit 4e906f1

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/rspack-nextjs-build-integration-tests.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
permissions:
1313
contents: read
1414
id-token: write
15+
pull-requests: write
1516
uses: ./.github/workflows/integration_tests_reusable.yml
1617
with:
1718
name: rspack-production

‎.github/workflows/rspack-nextjs-dev-integration-tests.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
permissions:
1313
contents: read
1414
id-token: write
15+
pull-requests: write
1516
uses: ./.github/workflows/integration_tests_reusable.yml
1617
with:
1718
name: rspack-development

0 commit comments

Comments
 (0)