Skip to content

ci: pin every action by commit - #802

Merged
leemour merged 2 commits into
mainfrom
ci/pin-actions
Oct 9, 2026
Merged

leemour merged 2 commits into
mainfrom
ci/pin-actions

Conversation

@leemour

@leemour leemour commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Task

Security audit 2026-10-09, RISK-184: workflows used actions by tag, so whoever moves a tag decides what runs in CI.

What

  • Every uses: pinned to a commit, with the version in a comment: the same pins max-cli and the release workflows already use. Each pin was checked against its tag with gh api repos/<action>/commits/<tag>.
  • The shared node-ci.yml pinned to v0.17.2 by commit (cli-messaging was on tag v0.11.0; the inputs are the same).
  • Adds .github/dependabot.yml with weekly github-actions updates: this repo had none, so nothing would have moved the pins.

Testing

  • zizmor 1.30.1: no tag-pinned actions left, 0 high.
  • CI on this PR.

🤖 Generated with Claude Code

leemour and others added 2 commits October 9, 2026 14:06
A tag can be moved to other code by whoever controls the action's
repository; a commit cannot. Same pins as max-cli and the release
workflows, each checked against its tag. The shared node-ci call moves
from a tag to v0.17.2 by commit.

Security audit 2026-10-09, RISK-184.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Without this the commit pins would never be updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@leemour
leemour merged commit f29783e into main Oct 9, 2026
46 of 47 checks passed
@leemour
leemour deleted the ci/pin-actions branch October 9, 2026 17:17
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