Skip to content

Pin dtolnay/rust-toolchain action refs in CI workflows#661

Merged
h4x3rotab merged 1 commit intomasterfrom
codex/propose-fix-for-unpinned-rust-toolchain-action
May 6, 2026
Merged

Pin dtolnay/rust-toolchain action refs in CI workflows#661
h4x3rotab merged 1 commit intomasterfrom
codex/propose-fix-for-unpinned-rust-toolchain-action

Conversation

@h4x3rotab
Copy link
Copy Markdown
Contributor

Motivation

  • Remove a supply-chain vulnerability introduced by using the moving branch dtolnay/rust-toolchain@master in CI workflows so upstream changes cannot execute arbitrary code in the project's CI.
  • Preserve the existing toolchain and workflow behavior while ensuring reproducible, auditable CI action refs.

Description

  • Replaced dtolnay/rust-toolchain@master with the fixed ref dtolnay/rust-toolchain@1.86 in .github/workflows/rust.yml.
  • Replaced dtolnay/rust-toolchain@master with the fixed ref dtolnay/rust-toolchain@1.86 in .github/workflows/sdk.yaml.
  • Kept existing toolchain: 1.92.0, components, and additional targets intact so workflow behavior is unchanged.

Testing

  • Verified the workflow contents with sed -n '1,200p' .github/workflows/rust.yml and sed -n '1,220p' .github/workflows/sdk.yaml, which showed the updated action refs and unchanged toolchain settings; these commands succeeded.
  • Searched for remaining moving refs with rg -n "dtolnay/rust-toolchain@" .github/workflows, which returned only the pinned @1.86 entries; this check succeeded.
  • Inspected the diff with git diff -- .github/workflows/rust.yml .github/workflows/sdk.yaml to confirm only the action ref lines were changed; this check succeeded.

Codex Task

@h4x3rotab h4x3rotab enabled auto-merge May 6, 2026 00:36
@h4x3rotab h4x3rotab merged commit e2b67cf into master May 6, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant