Repository navigation
Replace actionlint and zizmor with jactionlint and gate CI on one job - #28
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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 changes
actionlintandzizmorjobs become oneworkflowsjob, which runs jactionlint 2.6.0 from its Docker image, pinned by digest, with the default profile and the online checks.cijob needs every other job of the CI workflow and fails unless all of them succeeded. It usesif: always()so that it runs, and fails, when a needed job fails or the run is cancelled; a skipped job would pass a required check.if:and lists everywhere.Why
actionlint has had no release since March and no commit since April, so its runner labels and action inputs are going stale. jactionlint covers its checks and the audits of zizmor in one tool.
The ruleset of the default branch required each job by name, including the tool names. With the
cijob it can require one check, and jobs can be added, removed or renamed without touching the ruleset.Notes for the reviewer
ciinstead of the old checks. After that, other open pull requests need a rebase to get thecicheck.security-events: writegoes away with it. The existing zizmor analyses stay in the Security tab.🤖 Generated with Claude Code