Repository navigation
feat(claude-code, ralphex-fe): bake in actionlint and shellcheck - #218
Merged
Merged
Conversation
This was referenced Oct 22, 2026
Projects that lint their GitHub Actions workflows were installing both through mise at every container creation. Both now come from pinned, Renovate-managed download stages, like rtk and ralphex. - claude-code: copied in the shared stage after Chromium, so a bump doesn't rebuild the Chromium layer. - ralphex-fe: copied with the other binaries; it has no mise. - shellcheck ships with actionlint because actionlint skips `run:` scripts when shellcheck isn't on PATH. - Renovate's devcontainer tools group, CI and build verify commands, and the READMEs cover both.
Both upstreams publish multi-arch images (rhysd/actionlint:1.7.12 and koalaman/shellcheck:v0.11.0 list linux/amd64 and linux/arm64), so a `FROM … AS` stage plus `COPY --from` replaces the two curl/tar download stages in each Dockerfile, with their apk installs, uname arch mapping and --strip-components. The bytes come from the publisher's registry. The version ARGs move to the top, keep their github-releases annotations (Renovate here only runs custom.regex), and set the image tags. The 3-day soak covers the short gap between a GitHub release and its image tag. The shellcheck stage stays separate from the copy inside the actionlint image so the two versions can move independently.
gatezh
force-pushed
the
feat/workflow-linters
branch
from
October 22, 2026 22:45
3e5494a to
1914b61
Compare
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.
What
Bakes actionlint and shellcheck into the
claude-code(both targets) andralphex-feimages, copied from their official multi-arch images and pinned by Renovate.Why
Projects that lint their GitHub Actions workflows were installing both tools through mise at every container creation, which slows full rebuilds. Neither tool is project-specific, so they belong with the other shared dev tools (ralphex, gh). A project whose CI gates on exact versions can still pin them for CI alone in
.mise.ci.toml(MISE_ENV=ci).shellcheck comes with actionlint because actionlint passes
run:scripts to shellcheck only when it's onPATH. Without it, those scripts are skipped and the run still passes.Changes
FROM rhysd/actionlint:${ACTIONLINT_VERSION} AS actionlintandFROM koalaman/shellcheck:v${SHELLCHECK_VERSION} AS shellcheck, withCOPY --frominto/usr/local/bin.sharedstage after Chromium, so a bump doesn't rebuild the Chromium layer.# renovate: datasource=github-releasesannotations.rhysd/actionlintandkoalaman/shellcheckjoin the "devcontainer tools" group (3-day soak, auto-merge).actionlint --versionandshellcheck --versioninverify-image.shand both ralphex-fe verify steps..mise.tomlguidance) and ralphex-fe README.Notes
rhysd/actionlint:1.7.12andkoalaman/shellcheck:v0.11.0both publish linux/amd64 and linux/arm64. This drops the apk installs,unamearch mapping and--strip-componentsfrom four stages. The 3-day soak covers the short gap between a GitHub release and its image tag. The separate shellcheck stage lets the two versions move independently of the copy inside the actionlint image.claude-bun,bunandhugo-*, which are minimal or legacy images without the agent tooling.