Skip to content

ci: pin actions by SHA, add concurrency and job timeouts - #12

Merged
RyanJHamby merged 1 commit into
mainfrom
agent/ci-phase1-hygiene
Nov 13, 2026
Merged

RyanJHamby merged 1 commit into
mainfrom
agent/ci-phase1-hygiene

Conversation

@RyanJHamby

Copy link
Copy Markdown
Owner

Why

Phase 1 CI cleanup. 35 action references were mutable tags and 11 jobs had no timeout-minutes; ci.yml had no concurrency.

Change

  • ci.yml: concurrency cancels a superseded PR run only (cancel-in-progress is true for pull_request, false for pushes to main, so a main run is never cut short). timeout-minutes: 15 on its 5 jobs (observed whole-run max 11.4 min).
  • release.yml: timeout-minutes: 45 on its 6 jobs (observed whole-run max 8.8 min). No concurrency, deliberately:
    cancelling a tag release mid-publish would be harmful. Its triggers are v* tags and manual dispatch only, and its macOS
    matrix is release-only, so there is nothing to cut there.
  • Actions pinned by full commit SHA with the original tag kept in a trailing comment; SHAs were resolved with git ls-remote against the public action repos.
  • dtolnay/rust-toolchain took its Rust version from the ref name (@stable). A SHA has no such name, so I added
    with: toolchain: stable to all three uses to keep the same behavior.

Estimate

No estimate: this repo billed $0 for Nov 1-12 (free or included minutes), so this is hygiene, not a cost fix. 42 recent CI runs, median 4.2 min.

Not verified

Actions is blocked on the account until Dec 1 (spending cap), so CI has not run on this change. YAML was parsed locally
and every job was checked for a timeout and every uses: for a full-SHA pin; actionlint is not installed. Job and
check names are unchanged, so existing required checks keep their names.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@RyanJHamby
RyanJHamby merged commit 4da94df into main Nov 13, 2026
4 of 7 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.

1 participant