Skip to content

Commit 763524d

Browse files
authored
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: nodejs/node-core-utils#1192 Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #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>
1 parent 1eb734d commit 763524d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/auto-start-ci.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
BATCH_SIZE: ${{ vars.AUTO_START_CI_BATCH_SIZE || '5' }}
5555
start-ci:
5656
permissions:
57+
actions: read
5758
checks: read
5859
contents: read
5960
pull-requests: write

‎.github/workflows/commit-queue.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
needs: get_candidate_prs
6060
if: needs.get_candidate_prs.outputs.candidates != ''
6161
permissions:
62+
actions: read
6263
checks: read
6364
contents: read
6465
pull-requests: read

0 commit comments

Comments
 (0)