mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
tools: grant CI workflows Actions read permission
The workflow run metadata query in node-core-utils requires Actions read permission for GITHUB_TOKEN. Grant it to the commit queue and automatic CI jobs. Refs: https://github.com/nodejs/node-core-utils/pull/1192 Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: https://github.com/nodejs/node/pull/66919 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
1eb734d568
commit
763524d434
2 files changed
+2
No files matched your search
@@ -54,6 +54,7 @@ jobs:
|
||||
BATCH_SIZE: ${{ vars.AUTO_START_CI_BATCH_SIZE || '5' }}
|
||||
start-ci:
|
||||
permissions:
|
||||
actions: read
|
||||
checks: read
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
@@ -59,6 +59,7 @@ jobs:
|
||||
needs: get_candidate_prs
|
||||
if: needs.get_candidate_prs.outputs.candidates != ''
|
||||
permissions:
|
||||
actions: read
|
||||
checks: read
|
||||
contents: read
|
||||
pull-requests: read
|
||||
|
||||
Reference in new issue
Block a user