Skip to content

chore(deps): refresh all upstream action pins and tool defaults - #71

Merged
nkg merged 1 commit into
mainfrom
chore/refresh-upstream-action-pins
Aug 30, 2026
Merged

chore(deps): refresh all upstream action pins and tool defaults#71
nkg merged 1 commit into
mainfrom
chore/refresh-upstream-action-pins

Conversation

@nkg

@nkg nkg commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Summary

Audited all 23 distinct upstream actions (68 call sites) by resolving every pinned SHA against upstream tags — the trailing version comments were verified, not trusted. 15 were behind; 8 were already current.

Action Was Now Refs
astral-sh/setup-uv v8.2.0 v10.0.1 8
actions/checkout v6.0.3 v7.0.1 34
actions/cache v5.0.5 v6.1.0 7
actions/setup-node v6.4.0 v7.0.0 3
actions/setup-go v6.4.0 v7.0.0 2
github/codeql-action/upload-sarif v4.36.2 v4.37.9 3
anthropics/claude-code-action v1.0.146 v1.0.210 2
docker/login-action v4.2.0 v4.6.0 1
docker/setup-buildx-action v4.1.0 v4.3.0 1
docker/setup-qemu-action v4.1.0 v4.2.0 1
docker/metadata-action v6.1.0 v6.2.0 1
docker/build-push-action v7.2.0 v7.3.0 1
erlef/setup-beam v1.24.0 v1.24.1 2
anchore/sbom-action v0.24.0 v0.24.2 1
opentofu/setup-opentofu v2.0.1 v2.0.2 1

Already latest: upload-artifact v7.0.1, create-github-app-token v3.2.0, trivy-action v0.36.0, fetch-metadata v3.1.0, setup-bun v2.2.0, cosign-installer v4.1.2, auto-assign-issue v4.0.1, expo-github-action 9.0.0.

Behaviour changes worth reviewing

Both were checked against actual usage in this repo:

  • checkout v7 refuses to check out a fork PR head under pull_request_target / workflow_run. No workflow here does that — the only ref: uses are inputs.default-branch (auto-revert) and github.head_ref (dependabot-uv-lockfile, same-repo branches). Consumers that check out a fork head from those events will need actions/checkout@v6 in their own workflows or a redesign.
  • setup-uv crosses two breaking releases: v9 flips prune-cache to false (larger caches, evicted by GitHub's per-repo LRU — no billing impact), and v10 disables caching under pull_request_target / workflow_run / release when enable-cache is left at auto. All six caching call sites here set enable-cache: true explicitly, so v10's default change is inert for them.

The four actions/* majors are ESM/dependency migrations with no input surface changes, and all were already node24 — no newer runner agent required than the old pins.

Tool-version input defaults

Bumped to current releases; each download URL was preflighted against the upstream release assets (all 200).

Input Was Now
setup-trivy trivy-version 0.71.0 0.74.0
setup-cosign cosign-version v3.1.1 v3.1.3
setup-sops sops-version v3.13.1 v3.13.3
setup-sops age-version v1.3.1 v1.3.2
opentofu.yml tofu-version 1.12.1 1.12.6

Already current: taplo 0.10.0, betterleaks 1.8.1, actionlint 1.7.12, trivy-action-version 0.36.0.

Docs

Example snippets now show actions/checkout@v7, astral-sh/setup-uv@v10, actions/labeler@v7 (labeler's config format is unchanged since v5).

Test plan

  • actionlint clean
  • yamllint — only the three pre-existing line-length warnings in claude-code-review.yml
  • Every new SHA re-verified to resolve to its stated tag upstream
  • self-test.yml green on this PR

🤖 Generated with Claude Code

https://claude.ai/code/session_01AdnSdFQLSYFwWnS8tXU5KQ

Audited every pinned upstream action by resolving its SHA against upstream
tags (the version comments were verified, not trusted). 15 of 23 were behind.

Notable majors: setup-uv v8.2.0 -> v10.0.1, checkout v6.0.3 -> v7.0.1,
cache v5.0.5 -> v6.1.0, setup-node/setup-go v6.4.0 -> v7.0.0.

The actions/* majors are ESM/dependency migrations with no input changes and
were already node24, so they need no newer runner agent than the old pins.

Two behaviour changes, both checked against usage here:

- checkout v7 refuses to check out a fork PR head under pull_request_target /
  workflow_run. No workflow here does that; consumers that do will need to
  stay on v6 or redesign.
- setup-uv v9 flips prune-cache to false; v10 disables caching under
  pull_request_target / workflow_run / release when enable-cache is auto.
  Every caching call site here sets enable-cache: true explicitly, so v10's
  default change is inert.

Also bumped the pinned tool-version input defaults (trivy, cosign, sops, age,
tofu); each download URL was preflighted against upstream release assets.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AdnSdFQLSYFwWnS8tXU5KQ
@nkg
nkg merged commit eb7f3fe into main Aug 30, 2026
11 checks passed
@nkg
nkg deleted the chore/refresh-upstream-action-pins branch August 30, 2026 13:35
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