Skip to content

ci: pin rust-toolchain action to allowlisted SHA in release workflow - #6

Closed
Wollac wants to merge 1 commit into
mainfrom
ci/pin-release-actions
Closed

ci: pin rust-toolchain action to allowlisted SHA in release workflow#6
Wollac wants to merge 1 commit into
mainfrom
ci/pin-release-actions

Conversation

@Wollac

@Wollac Wollac commented May 4, 2026

Copy link
Copy Markdown
Contributor

Summary

The first manual `workflow_dispatch` run of `release.yml` failed with `startup_failure` because the org-level action allowlist rejected `dtolnay/rust-toolchain@stable`. Pin it to `@6d653acede28d24f02e3cd41383119e8b1b35921` (the same SHA `ci.yml` uses) and pass `toolchain: stable` via `with:`.

Open question

`rust-lang/crates-io-auth-action@v1` is the next step in the workflow. The dispatch never reached it (failed at startup), so it's unclear whether it's also on the allowlist. If a follow-up dispatch fails on it next, an admin will need to add it to the allowlist (it's the official rust-lang action for crates.io Trusted Publishing OIDC token exchange).

Test plan

  • After merge, `Actions → Release to crates.io → Run workflow` should reach the auth step. If it fails there, raise the allowlist gap with the admin.

The boundless-xyz org enforces an action allowlist; dtolnay/rust-toolchain@stable
is not on it. Match the SHA already used in ci.yml. Caused
'startup_failure' on the first manual workflow_dispatch run.
@Wollac

Wollac commented May 4, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #4 - same content, repurposed there to preserve approval.

@Wollac Wollac closed this May 4, 2026
@Wollac
Wollac deleted the ci/pin-release-actions branch May 4, 2026 14:16
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