From f7a4df12f18c9805c940b75060d3c67f5b932d65 Mon Sep 17 00:00:00 2001 From: Valentin Boussot Date: Sun, 4 Oct 2026 20:17:18 +0200 Subject: [PATCH] COMP: Pin the clang-format linter action and the ITK revision it reads 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). --- .github/workflows/clang-format-linter.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clang-format-linter.yml b/.github/workflows/clang-format-linter.yml index e01e9af..e9dca75 100644 --- a/.github/workflows/clang-format-linter.yml +++ b/.github/workflows/clang-format-linter.yml @@ -9,6 +9,8 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@main + # Both pinned: the action's main and ITK's main change what the check requires without a change here (the + # action started to require a .gitattributes on 2026-09-29, and ITK's main sets the clang-format version). + - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@fc9d686932b4235bbcbd7027a24e24d68f99dccc # main, 2026-09-29 with: - itk-branch: main + itk-branch: 5d31af3cfdf2071d14dfc331d169111487b80597 # ITK main, 2026-10-01