Repository navigation
CI(lint): Follow the template's guard and pins - #149
Merged
ModeSevenIndustrialSolutions merged 1 commit intoSep 28, 2026
Conversation
Bring this repository in line with lfreleng-actions/actions-template#256, which landed after this repository's alignment with the template merged. The frozen-rev guard missed a label that was empty ('# frozen:') or had no space after the colon, so such a pin passed unchecked (actions-template#252). The guard is now anchored to 'rev:' lines, with the separator inside its negative lookahead. Pins now name the SHA 'pre-commit autoupdate --freeze' writes, which for an annotated tag is the tag object (actions-template#254). This moves kjanat/actionlint v1.17.0 and check-jsonschema 0.38.2 from their peeled commits to their tag objects; both fetch and run the same code, and autoupdate would otherwise rewrite them. The bare '$/' actionlint ignore stays, as decided in actions-template#253. Its note now says that it also skips input and output checks for those steps, and that it goes once a fork release containing kjanat/actionlint#200 is pinned. Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
ModeSevenIndustrialSolutions
requested review from
a team
and
a balanced review from Copilot
September 28, 2026 11:12
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The guard behaves as intended, the pins match their releases, and no unresolved issues were found.
Review effort: Balanced
Findings: None
What changed in this PR
Aligns lint configuration with the latest actions template behavior.
Changes:
- Tightens frozen-revision validation.
- Pins hooks to annotated tag objects.
- Clarifies the temporary actionlint ignore.
| File | Description |
|---|---|
.pre-commit-config.yaml |
Updates the guard and verified tag-object pins. |
.github/actionlint.yaml |
Documents the bare $/ limitation and removal condition. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
zxiiro
approved these changes
Sep 28, 2026
zxiiro
left a comment
Contributor
There was a problem hiding this comment.
🤖 Auto-approved by agent: trivial change (dependency/docs/formatting only).
ModeSevenIndustrialSolutions
merged commit Sep 28, 2026
2021dd0
into
lfreleng-actions:main
10 checks passed
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
Brings this repository in line with lfreleng-actions/actions-template#256, which merged after this repository's alignment with the template.
# frozen:) or unspaced (# frozen:v1.2.3) label, and is anchored torev:lines, so prose mentioning a frozen label is never matched.--freeze(Docs: Define which SHA frozen pre-commit revs name actions-template#254):kjanat/actionlintv1.17.0 and check-jsonschema 0.38.2 move from their peeled commits to their annotated tag objects, the SHAspre-commit autoupdate --freezewrites. The code is the same, and autoupdate would otherwise rewrite them. The commit-SHA rule applies touses:references, not these revs.$/ignore note (CI(lint): Drop bare $/ ignore once the actionlint fork ships #200 actions-template#253): the note now says the ignore also skips actionlint's input and output checks for those steps, and that it goes once a fork release containing Fix self-repository root actions kjanat/actionlint#200 is pinned. Bare$/stays, as decided there.Validation
zizmor --persona auditor --offline .: no findings.aislop ci --changes --base upstream/main: 0 errors, 0 warnings.