Repository navigation
feat: share actionlint as a reusable workflow - #254
Merged
Merged
Conversation
- 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.
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.
Summary
ci-actionlint.ymlreusable workflow (workflow_call, no inputs) so consumer repos can lint their GitHub Actions workflows the same way this repo does. SHA-pinnedrhysd/actionlint.ci.ymlnow 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 newprotect-mainbranch ruleset (a path-filtered-out required check blocks merges as "Expected"), andtest-markdownlints files the old filter did not even cover (e.g.README.md).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 toactionlint / actionlint).Test plan
actionlintclean locally;markdownlint-cli20 issues on the README glob.