Skip to content

Commit 0dcd8fd

Browse files
committed
fix: use explicit contents:read permission instead of empty block
permissions: {} removes all scopes including contents:read, which breaks actions/checkout on private repos. Grant the minimal required permission explicitly. https://claude.ai/code/session_013DBSzYMmxuKo9vsjMwXzJQ
1 parent 1240be1 commit 0dcd8fd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/uv-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ concurrency:
1010
group: ${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: true
1212

13-
permissions: {}
13+
permissions:
14+
contents: read
1415

1516
env:
1617
COLUMNS: 200

0 commit comments

Comments
 (0)