ci: upgrade deprecated GitHub Actions to supported versions#2
Merged
Conversation
The CI workflows referenced action versions that GitHub has retired, causing runs to fail: - github/codeql-action v2 -> v3 (v2 reached end-of-life) - actions/checkout v2/v3 -> v4 (v2 ran on Node.js 12, now retired) - docker/setup-buildx-action v2 -> v3 - docker/login-action v1 -> v3 - docker/build-push-action v2 -> v6 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017cM5KS1a3nGipfsAXLvoZ6
Docker/GHCR references must be lowercase, but ${{ github.repository }}
resolves to "machnett/Machnet" (capital M), so every image build/pull
failed with "repository name must be lowercase". This is why the base
image was never pushed and the CodeQL job could not start its container.
Hardcode the lowercase path ghcr.io/machnett/machnet/... instead. The
container.image field in codeql.yml is evaluated at job setup and cannot
use a computed step output, so a literal is the simplest robust fix.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017cM5KS1a3nGipfsAXLvoZ6
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
CodeQL Action v3 is scheduled for deprecation in December 2026; v4 is the drop-in successor. Moving now keeps the workflow off deprecated actions, which is the goal of this change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017cM5KS1a3nGipfsAXLvoZ6
sarsanaee
marked this pull request as ready for review
July 19, 2026 07:49
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.
The CI workflows referenced action versions that GitHub has retired, causing runs to fail:
Why: CodeQL Action v2 reached end-of-life after v3 shipped, and
actions/checkout@v2runs on Node.js 12 which GitHub retired — both now hard-fail. Dockerfile build stages (machnet_build_base,machnet) andcodeql-config.ymlwere verified to still match the workflow references, so no other changes were needed. YAML validates cleanly.🤖 Generated with Claude Code
https://claude.ai/code/session_017cM5KS1a3nGipfsAXLvoZ6