Skip to content

Commit 52d8bff

Browse files
Fix
1 parent 4a540ab commit 52d8bff

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ concurrency:
2727

2828
permissions:
2929
contents: read
30+
# Reusable child workflows (builds.yml, tests.yml) request actions:read
31+
# (GHA cache) and packages:read (GHCR). GitHub clamps a child workflow's
32+
# permissions to the MIN of (caller's permissions, child's request), so
33+
# we must grant these at the caller level even though ci.yml itself
34+
# doesn't use them. Without this, callers get
35+
# "actions: read, packages: read" but is only allowed "actions: none, packages: none"
36+
actions: read
37+
packages: read
3038

3139
jobs:
3240
# Compute once which path groups changed; every other job references these

0 commit comments

Comments
 (0)