Repository navigation
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/ciGitHub Actions workflows and pre-commit hookssource/agentFiled by an agenttype/featureType feature: a new functionvalue/mediumValue Medium
Description
Problem
The lint of GitHub Actions workflows and shell scripts is not shared. Each repository holds its own copy, a part of it, or none.
State of the default branches on 2026-11-30:
- dan-petty/github-workflows: the jobs
actionsandshelland the zizmor step of the jobyamlin.github/workflows/ci.yml. - dan-petty/infra: the same jobs in its own
.github/workflows/ci.yml. - dan-petty/vibes: a step downloads actionlint with curl. It does not run zizmor.
- dan-petty/devcontainer-features: shellcheck only.
- dan-petty/homelab: shellcheck through
make shellcheck. No actionlint and no zizmor. - dan-petty/dreamscaper, dan-petty/dotfiles and one private website repository: no workflow lint.
Change
Add the reusable workflow .github/workflows/lint.yml (on: workflow_call).
- Input
runs-on(string, default empty). Empty selectsubuntu-26.04. - One job
lintwith the nameLint, a timeout of 10 minutes and the permissioncontents: read. - The job checks out the caller, and the
mise.tomlandmise.lockof the commit of the workflow. It installs actionlint, shellcheck and zizmor from that lock file. - It runs actionlint, shellcheck on each tracked
*.shfile, andzizmor --offline .github/. ci.ymlof this repository calls it with the jobworkflows(nameWorkflows).- Move the zizmor pin from
pyproject.tomlanduv.locktomise.tomlandmise.lock.
The old jobs of ci.yml stay in this item. A later item deletes them.
Existing tool considered
No open tool that we found gives one reusable lint job for these repositories, which include a self-hosted gVisor runner with no Docker.
- super-linter v9.0.0 runs the three linters, but it is a Docker container action. A self-hosted runner needs Docker for such an action. The runner scale set
runner-homelabsets no container mode. It also pins the linters by its image, not bymise.lock. - MegaLinter v10.2.0 and reviewdog/action-actionlint v1.84.1 are also Docker container actions.
- zizmorcore/zizmor-action v0.9.2 runs zizmor only.
- raven-actions/actionlint v2.2.0 runs actionlint (with shellcheck on
runsteps) only. - trunk-io/trunk-action runs the Trunk CLI, which is closed source, and each repository holds its own tool pins.
Cost to build: approximately 60 lines in the form of the jobs of ci.yml and of pr-title.yml, approximately 40,000 tokens and 1 hour.
Done when
- A pull request of this repository shows the check
Workflows / Lint, and it passes. - A commit with a shellcheck error makes
Workflows / Lintfail. mise exec -- zizmor --offline .github/runs the zizmor ofmise.lock.- README.md tells a caller how to call the workflow, with the permission that the caller must give.
Source
Metadata
Metadata
Assignees
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/ciGitHub Actions workflows and pre-commit hookssource/agentFiled by an agenttype/featureType feature: a new functionvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 30, 2026
Both add reusable workflows to the github-workflows repo, but #2 moves existing workflows while the candidate creates a new lint workflow.chore(main): release 0.3.0 (#26)
ci(deps): release the updates of consumer-run tools (#24)
devops-cli-service commentedon Dec 1, 2026
Released in v0.3.0: https://github.com/dan-petty/github-workflows/releases/tag/v0.3.0