Skip to content

CI: Node 24 actions, pinned to commit SHAs, no persisted checkout token - #4

Merged
ZeeshanSultan merged 1 commit into
mainfrom
ci/actions-node24-pinned
Dec 5, 2026
Merged

ZeeshanSultan merged 1 commit into
mainfrom
ci/actions-node24-pinned

Conversation

@ZeeshanSultan

Copy link
Copy Markdown
Member

Same change as OpsMaxx/OpsMaxx#69.

Upgrades. Each target's action.yml runs on node24:

  • checkout v4 → v7.0.1
  • setup-go v5 → v7.1.0
  • upload-artifact v4 → v7.0.2
  • download-artifact v4 → v8.0.2
  • action-gh-release v2 → v3.0.4
  • docker/setup-buildx-action v3 → v4.4.1
  • docker/login-action v3 → v4.8.0
  • docker/build-push-action v6 → v7.4.0
  • ghaction-virustotal v5.0.0 was already Node 24 and is only pinned.

Pinned to full commit SHAs, each the newest release at least 14 days old. New .github/dependabot.yml keeps them current with the same 14-day cooldown.

Breaking changes checked.

  • The docker majors removed deprecated inputs and environment variables, none of which this workflow uses.
  • download-artifact v8 now fails on a hash mismatch, which is stricter.

Hardening: every checkout sets persist-credentials: false. The gh commands authenticate through GH_TOKEN, not git credentials.

Checked locally: actionlint findings are unchanged from main, and internal/repocheck tests pass. This PR's CI runs the checkout and setup-go pins. The release workflow, which uses the docker actions, only runs on a tag, so its first real test is the next addy release.

🤖 Generated with Claude Code

Same change as OpsMaxx/OpsMaxx#69. Actions on Node 20, which GitHub is
removing, move to majors whose action.yml runs on node24: checkout v7.0.1,
setup-go v7.1.0, upload-artifact v7.0.2, download-artifact v8.0.2,
action-gh-release v3.0.4, docker/setup-buildx-action v4.4.1,
docker/login-action v4.8.0, docker/build-push-action v7.4.0.
ghaction-virustotal v5.0.0 already ran on Node 24.

Every action is pinned to a full commit SHA, chosen as the newest release at
least 14 days old, with the version in a comment. .github/dependabot.yml keeps
the pins current with the same 14-day cooldown.

Breaking changes checked. The docker majors removed deprecated inputs and
environment variables that this workflow does not use. download-artifact v8
now fails on a hash mismatch, which is stricter. Every checkout sets
persist-credentials: false. Nothing here runs git with the token; the release
step's `gh` commands authenticate through GH_TOKEN.

actionlint findings are unchanged from main (pre-existing shellcheck notes);
internal/repocheck tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ZeeshanSultan
ZeeshanSultan merged commit 68c9683 into main Dec 5, 2026
1 check 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