Repository navigation
CI: Node 24 actions, pinned to commit SHAs, no persisted checkout token - #4
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Same change as OpsMaxx/OpsMaxx#69.
Upgrades. Each target's
action.ymlruns onnode24:Pinned to full commit SHAs, each the newest release at least 14 days old. New
.github/dependabot.ymlkeeps them current with the same 14-day cooldown.Breaking changes checked.
Hardening: every checkout sets
persist-credentials: false. Theghcommands authenticate throughGH_TOKEN, not git credentials.Checked locally:
actionlintfindings are unchanged frommain, andinternal/repochecktests 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