From 2915dbb918df825ddb998b90291709cafc82f9a5 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Mon, 2 Mar 2026 16:23:50 +0000 Subject: [PATCH] tools: fix example in release proposal linter `changelog-maker` writes 10 character length short form SHA's. Explicitly set the `git log format` in the example to match. --- tools/actions/lint-release-proposal-commit-list.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/actions/lint-release-proposal-commit-list.mjs b/tools/actions/lint-release-proposal-commit-list.mjs index 9bbc7159fbf17a..a51f0c590026cf 100755 --- a/tools/actions/lint-release-proposal-commit-list.mjs +++ b/tools/actions/lint-release-proposal-commit-list.mjs @@ -6,6 +6,7 @@ // Example: // $ git log upstream/vXX.x...upstream/vX.X.X-proposal \ // --reverse --format='{"prURL":"%(trailers:key=PR-URL,valueonly,separator=)","title":"%s","smallSha":"%h"}' \ +// --abbrev=10 \ // | sed 's/,"title":"Revert "\([^"]\+\)""/,"title":"Revert \\"\1\\""/g' \ // | ./lint-release-proposal-commit-list.mjs "path/to/CHANGELOG.md" "$(git rev-parse upstream/vX.X.X-proposal)"