Skip to content

Commit 3bce2b8

Browse files
committed
fix(ci): grant actions: read to ci-security caller for v2.1
v2.1 ci-security.yml requests actions: read from callers (vergil-actions#693/#698; v2.1 resolves to v2.1.5). Add actions: read to both the top-level permissions block and the security job's permissions block. Without it the PR fails at startup with 'requesting actions: read, but is only allowed actions: none'. Refs #316
1 parent 779632b commit 3bce2b8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626

2727
permissions:
2828
contents: read
29+
actions: read
2930

3031
concurrency:
3132
group: ${{ github.workflow }}-${{ github.ref }}
@@ -98,6 +99,7 @@ jobs:
9899
permissions:
99100
contents: read
100101
security-events: write
102+
actions: read
101103

102104
test:
103105
uses: vergil-project/vergil-actions/.github/workflows/ci-test.yml@v2.1

0 commit comments

Comments
 (0)