Skip to content

CI(lint): Follow the template's guard and pins - #149

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:ci/follow-template-guard-pins
Sep 28, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:ci/follow-template-guard-pins

Conversation

@ModeSevenIndustrialSolutions

Copy link
Copy Markdown
Member

Summary

Brings this repository in line with lfreleng-actions/actions-template#256, which merged after this repository's alignment with the template.

Validation

  • The frozen-rev guard, yamllint, actionlint and check-jsonschema hooks pass, and the commit's own hooks passed. Both new pins installed and ran.
  • zizmor --persona auditor --offline .: no findings.
  • aislop ci --changes --base upstream/main: 0 errors, 0 warnings.
  • The commit is signed and carries a DCO sign-off.

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
ModeSevenIndustrialSolutions requested review from a team and a balanced review from Copilot September 28, 2026 11:12
@github-actions github-actions Bot added the CI CI and tests updates label Sep 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 zxiiro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Auto-approved by agent: trivial change (dependency/docs/formatting only).

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit 2021dd0 into lfreleng-actions:main Sep 28, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI and tests updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants