Skip to content

ci: pin the runner image and the branch-ref actions - #301

Merged
singlerider merged 1 commit into
devfrom
chore/pin-actions-sha
Sep 29, 2026
Merged

singlerider merged 1 commit into
devfrom
chore/pin-actions-sha

Conversation

@singlerider

@singlerider singlerider commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

ubuntu-latest is a label GitHub moves. The image behind it changes on GitHub's schedule, and a pipeline nobody touched goes red on a Tuesday. This pins every job to ubuntu-24.04 so the runner moves when we move it.

It also pins the action refs that point at a branch (@stable, @latest) rather than a release. Each pin carries the version it resolves to, or the commit date where upstream publishes no tag for that branch. Version-tagged actions stay on their tags and Dependabot keeps bumping them.

Validation

actionlint clean on the changed workflows. No logic, matrix, or step changes: only the runs-on: value and the branch refs.

Part of https://github.com/blacklanternsecurity/bbot-enterprise/issues/149.

@singlerider
singlerider requested a review from en0f September 28, 2026 18:20
@singlerider singlerider changed the title ci: pin every action reference to a commit SHA ci: pin the runner image and the branch-ref actions Sep 28, 2026
ubuntu-latest is a label GitHub moves. The image changes under us and
a green pipeline turns red on a morning nobody touched the code.
Pinning to ubuntu-24.04 means the runner moves when we move it.

dtolnay/rust-toolchain was called at @stable, a branch, not a release.
It is pinned to a commit, dated in the trailing comment because that
repo publishes no release tag for it. Version-tagged actions are
untouched.
@singlerider
singlerider merged commit 2550ab3 into dev Sep 29, 2026
19 checks passed
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.

2 participants