Skip to content

ci: fold actionlint into mise lint, dry-run as task (DOT-47)#74

Merged
edwinhern merged 1 commit into
mainfrom
feature/dot-47-ci-mise-cleanup
Jul 1, 2026
Merged

ci: fold actionlint into mise lint, dry-run as task (DOT-47)#74
edwinhern merged 1 commit into
mainfrom
feature/dot-47-ci-mise-cleanup

Conversation

@edwinhern

Copy link
Copy Markdown
Owner

Summary

CI and mise task hygiene. Fold GitHub Actions linting into mise lint, move the chezmoi dry-run out of an inline pipeline script, and drop a rarely-used task.

Changes

  • actionlint into mise lint. Added actionlint = "1.7.12" to the mise toolchain (same version as the old docker pin) and called it from the lint task. It validates workflow semantics treefmt/shellcheck cannot (expression syntax, runner labels, needs:, and shellcheck over run: blocks) and reuses the shellcheck already installed. The separate actions_lint CI job is removed, so CI goes 4 jobs to 3 and mise lint now catches workflow bugs locally.
  • apply-dry-run mise task. The chezmoi_dry_run job now calls mise apply-dry-run instead of an inline mise exec -- chezmoi apply ... script.
  • Removed reset-config task. Re-running chezmoi init covers it; it saw little use. Kept reset for clearing run_onchange script state.

Verification

  • mise lint runs actionlint (verified it passes on the current workflows and flags a deliberately broken ${{ }} expression).
  • apply-dry-run task registered; reset-config gone, reset kept.
  • CI green with 3 jobs on this PR.

Fixes DOT-47

actionlint validates workflow semantics that treefmt and shellcheck do
not (expression syntax, runner labels, job needs, and shellcheck over
run: scripts). Add it to the mise toolchain and call it from the lint
task so the check runs locally too, then drop the separate actions_lint
CI job. CI goes from four jobs to three.

Move the chezmoi dry-run command into an apply-dry-run mise task so the
workflow calls the task instead of carrying an inline mise exec script.

Remove the reset-config task; re-running chezmoi init covers it and it
saw little use. Keep reset for clearing run_onchange script state.

Fixes DOT-47
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@edwinhern edwinhern merged commit 65a9130 into main Jul 1, 2026
5 checks passed
@edwinhern edwinhern deleted the feature/dot-47-ci-mise-cleanup branch July 1, 2026 16:51
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