Skip to content

COMP: Pin the clang-format linter action and the ITK revision it reads - #5

Merged
vboussot merged 1 commit into
mainfrom
comp-pin-clang-format-linter
Oct 4, 2026
Merged

vboussot merged 1 commit into
mainfrom
comp-pin-clang-format-linter

Conversation

@vboussot

@vboussot vboussot commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

The clang-format check ran ITKClangFormatLinterAction@main and read ITK's main for the clang-format version, the style and the runner script. A change in either changes what the check requires without any change in this repository: the action started to require a .gitattributes on 2026-09-29, which turned the check red on a pull request that had not touched the style.

Both are now pinned to the commits the check passes with today:

  • the action at fc9d686 (its main of 2026-09-29);
  • ITK at 5d31af3 (its main of 2026-10-01, clang-format 19.1.7).

Moving to a newer style is then a deliberate change of these two lines.

The linter ran InsightSoftwareConsortium/ITKClangFormatLinterAction@main and
read ITK's main for the clang-format version, the style and the runner. A
change in either changes what the check requires without a change here: the
action started to require a .gitattributes on 2026-09-29, which turned the
check red on a pull request that had not touched the style.

Both are pinned to the commits the check passes with today (clang-format
19.1.7).
@vboussot
vboussot merged commit fc30562 into main Oct 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant