Skip to content

Commit cdb7238

Browse files
committed
ci: grant contents:read to the publish job
Specifying a job-level permissions block resets every unlisted scope to none. Restore the contents:read access that actions/checkout relies on, matching the build jobs in this workflow. https://claude.ai/code/session_013tt2ucFPTnTnGGM1RLG19m
1 parent 1276059 commit cdb7238

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ jobs:
472472
environment: release
473473

474474
permissions:
475+
contents: read
475476
id-token: write # needed for crates.io Trusted Publishing
476477

477478
steps:

0 commit comments

Comments
 (0)