Repository navigation
ci: switch actionlint to the kjanat fork; use $/ for the local workflow - #68
Merged
Merged
Conversation
rhysd/actionlint has not released since 2026-03 and rejects GitHub's self-repository `uses: $/...` syntax (rhysd/actionlint#711), which zizmor 1.30's self-repository audit requires. kjanat/actionlint is a maintained drop-in fork (rhysd/actionlint#719) that accepts it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GyMoD8tx4oz1bpJ1tEL845
The fork points minor tags (v1.17) at off-branch commits made for its Docker action, and prek picks them as the newest tag. pre-commit ignores the `update:` key with a warning, and its autoupdate already only takes tags reachable from the default branch. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GyMoD8tx4oz1bpJ1tEL845
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.
zizmor 1.30's new
self-repositoryaudit fails lint in every generated project with PyPI enabled. It wantsuses: $/.github/workflows/ci.ymlinbuild-and-publish.yml, GitHub's self-repository syntax from 2026-07-30. Upstream rhysd/actionlint rejects that syntax (rhysd/actionlint#711). Its last release was v1.7.12 on 2026-03-30 and its last commit was on 2026-04-19 (rhysd/actionlint#719).This currently blocks CI on #64.
Changes
build-and-publish.yml.jinja:uses: ./.github/workflows/ci.yml→uses: $/.github/workflows/ci.yml.update:block in both pre-commit configs: restricts prek's auto-update for the fork tov*.*.*tags. The fork points moving minor tags (v1.17) at off-branch commits made for its Docker action, and without the filterprek auto-updatepicks them as the newest tag. pre-commit accepts the config but printsUnexpected key(s) present at root: updateon each run; itsautoupdatealready takes only tags reachable from the default branch, so it lands onv1.17.0either way.Why this fork
actionlintpackage to it is open. It appears in about 116 pre-commit configs, against about 4.7k for upstream.deps-updatewould surface it.$/errors in an actionlint config../and add# zizmor: ignore[self-repository].Verification
TMPDIR=/tmp uv run ctt --continue-on-error: all 7 variants pass (lint including actionlint and zizmor, tests, release, docs). Each generated project'sdeps-updateresolves the fork tov1.17.0.just lintandprek validate-configpass in the template repo.validate-configexits 0 (with the warning above),autoupdategoesv1.16.0→v1.17.0, and the hook runs.🤖 Generated with Claude Code
https://claude.ai/code/session_01GyMoD8tx4oz1bpJ1tEL845