Skip to content

feat: share actionlint as a reusable workflow - #254

Merged
h13 merged 1 commit into
mainfrom
ci/shared-actionlint
Dec 2, 2026
Merged

h13 merged 1 commit into
mainfrom
ci/shared-actionlint

Conversation

@h13

@h13 h13 commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • New ci-actionlint.yml reusable workflow (workflow_call, no inputs) so consumer repos can lint their GitHub Actions workflows the same way this repo does. SHA-pinned rhysd/actionlint.
  • ci.yml now dogfoods it (uses: ./.github/workflows/ci-actionlint.yml) and drops its path filters: the jobs are cheap, these checks are about to become required via the new protect-main branch ruleset (a path-filtered-out required check blocks merges as "Expected"), and test-markdown lints files the old filter did not even cover (e.g. README.md).
  • README: workflow table row + architecture diagram updated.

Context

Part of the hardening follow-ups: branch ruleset (protect-main) and tag ruleset (protect-release-tags) are now active, and immutable releases are enabled. Required status checks will be added to the ruleset after this merges (check names change to actionlint / actionlint).

Test plan

  • actionlint clean locally; markdownlint-cli2 0 issues on the README glob.
  • CI on this PR exercises the new reusable workflow via the dogfooding call.

- New ci-actionlint.yml (workflow_call) so consumer repos can lint their
  workflows the same way this repo does; SHA-pinned rhysd/actionlint.
- ci.yml dogfoods it and drops its path filters: the jobs are cheap, the
  checks become required by the main branch ruleset (a filtered-out
  required check blocks merges as "Expected"), and test-markdown lints
  files the old filter did not cover (README.md).
- README: workflow table + architecture diagram.
@h13
h13 merged commit c807de1 into main Dec 2, 2026
3 checks passed
@h13
h13 deleted the ci/shared-actionlint branch December 2, 2026 01:36
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