From d57536161a86564003096a58447f8b0f0e0a2855 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 9 Apr 2026 23:05:12 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20commit-range=20=EA=B2=80=EC=82=AC?= =?UTF-8?q?=EC=97=90=EC=84=9C=20merge=20=EC=BB=A4=EB=B0=8B=20=EC=A0=9C?= =?UTF-8?q?=EC=99=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub PR merge 커밋에는 provenance trailer가 없어 CI가 실패함. rev-list --no-merges로 실제 커밋만 검사. project: kkamppak agent: cursor-background role: worker artifacts: LOG-20260409-001 Co-authored-by: devuterian --- scripts/check-commit-range.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/check-commit-range.sh b/scripts/check-commit-range.sh index fb6c644..2bf935b 100755 --- a/scripts/check-commit-range.sh +++ b/scripts/check-commit-range.sh @@ -13,7 +13,8 @@ head=$2 repo_root=$(cd "$(dirname "$0")/.." && pwd) checker="$repo_root/scripts/check-commit-standards.sh" -commits=$(git -C "$repo_root" rev-list "$base..$head") +# GitHub/GitLab merge commits do not carry project trailers; only check real commits. +commits=$(git -C "$repo_root" rev-list --no-merges "$base..$head") if [ -z "$commits" ]; then echo "No commits to check in range $base..$head"