From 72743251dee0828d3143aa3d1ef057423ebd7f32 Mon Sep 17 00:00:00 2001 From: Cal Nightingale Date: Wed, 29 Apr 2026 12:29:29 -0400 Subject: [PATCH] NO-ISSUE: accept NO-ISSUE in conventional commit scope The repo CLAUDE.md format `(NO-ISSUE):` (e.g. `ci(NO-ISSUE): foo`) was previously rejected because the scope-with-Linear-ID pattern requires digits and the existing NO-ISSUE pattern matched only when NO-ISSUE appeared in the subject. Add a fifth pattern so titles like `ci(NO-ISSUE): foo` are accepted alongside the existing forms. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/pr-title-check.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index 0cf34d9..41340d3 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -25,6 +25,8 @@ jobs: echo "PR title is a Conventional Commit with a Linear issue ID in scope." elif echo "$PR_TITLE" | grep -qPi '^NO-ISSUE\b'; then echo "::notice::PR explicitly opted out of issue association." + elif echo "$PR_TITLE" | grep -qP '^[a-z]+\(NO-ISSUE\)!?:'; then + echo "::notice::PR explicitly opted out of issue association (NO-ISSUE in conventional commit scope)." elif echo "$PR_TITLE" | grep -qPi '^[a-z]+(\([^)]*\))?!?:\s*NO-ISSUE\b'; then echo "::notice::PR explicitly opted out of issue association (conventional commit style)." else