Skip to content

ci: pin actions and scope release token writes - #1

Open
alex-mextner wants to merge 2 commits into
masterfrom
chore/github-security-20261120
Open

alex-mextner wants to merge 2 commits into
masterfrom
chore/github-security-20261120

Conversation

@alex-mextner

Copy link
Copy Markdown
Member

Why

The CI and Windows smoke workflows inherited default token permissions, and the release workflow granted repository write access to its build jobs. Mutable action tags also blocked full-SHA enforcement.

Change

Pin all 54 mutable remote action references across the three workflows to the exact GitHub-resolved commits. Declare contents: read at workflow level and retain contents: write specifically for the release job. Keep every trigger, matrix, job dependency, command, artifact name and separate deployment-key reference unchanged.

The pinned Rust action at 39008827e6b4319a349e9a42dfc90579dd25f1ca explicitly declares inputs.toolchain.default: stable; pinning therefore retains the existing toolchain selection. The canonical Rig pin plan records the original references, complete SHAs and source endpoints.

Validation

Exact-byte verification confirmed only the planned action-reference and permission changes. No mutable remote references or implicit workflow permissions remain. Three independent deep/xhigh review roles completed with no actionable findings. Normal commit gates passed.

The repository's established hosted PR CI runs its build and test matrix; no full Cargo build or test suite was started manually. Tag-only release publication remains in the existing release workflow and was not triggered for this change.

Rollout task: https://git.hyperide.ai/ultrabricks/rig-cli/issues/980

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