Skip to content

Commit 31b2c1f

Browse files
committed
ci: grant contents: read permission
The empty `permissions: {}` block strips the default token permissions, leaving only `metadata: read`. Checkout in the reusable workflow then hits "Repository not found" because it can't authenticate the fetch.
1 parent 4872040 commit 31b2c1f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66
pull_request:
77
branches: [main]
88

9-
permissions: {}
9+
permissions:
10+
contents: read
1011

1112
jobs:
1213
unit-test:

0 commit comments

Comments
 (0)