Skip to content

Give CI workflows a read-only GITHUB_TOKEN - #68

Merged
XiangpengHao merged 1 commit into
mainfrom
ci-token-permissions
Nov 18, 2026
Merged

XiangpengHao merged 1 commit into
mainfrom
ci-token-permissions

Conversation

@XiangpengHao

Copy link
Copy Markdown
Collaborator

Sets permissions: contents: read at the top of rust-ci.yml and fuzz.yml, closing the five actions/missing-workflow-permissions code-scanning alerts (#1–#5).

No job writes to the repo; the Nix cache and artifact-upload steps authenticate with the Actions runtime token, not GITHUB_TOKEN. publish-crates.yml and release-pr.yml already declare their own permissions.

Closes the five actions/missing-workflow-permissions code-scanning alerts. No job writes to the repo; cache and artifact steps use the Actions runtime token.
@XiangpengHao
XiangpengHao enabled auto-merge (squash) November 18, 2026 18:58
@XiangpengHao
XiangpengHao merged commit f8fc1d4 into main Nov 18, 2026
8 checks passed
@XiangpengHao
XiangpengHao deleted the ci-token-permissions branch November 18, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant