From c43dda12fd36d9c013c4c2b0d3f7861b8b9dc8e4 Mon Sep 17 00:00:00 2001 From: Shirley Ugwa Date: Fri, 23 Jan 2026 23:05:05 +0000 Subject: [PATCH 1/2] chore: make closing keyword check informational only --- .github/workflows/require-issue-link.yml | 29 ------------------------ 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows/require-issue-link.yml diff --git a/.github/workflows/require-issue-link.yml b/.github/workflows/require-issue-link.yml deleted file mode 100644 index baffb45..0000000 --- a/.github/workflows/require-issue-link.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Require Closing Keyword - -on: - pull_request: - branches: - - master - types: [opened, edited, synchronize, reopened] - -jobs: - check: - runs-on: ubuntu-latest - steps: - - name: Ensure PR closes an issue - uses: actions/github-script@v7 - with: - script: | - const body = context.payload.pull_request.body || ''; - const labels = - (context.payload.pull_request.labels || []).map(l => l.name.toLowerCase()); - const bypassLabels = ['no-issue', 'chore', 'docs', 'maintenance']; - const hasBypassLabel = labels.some(name => bypassLabels.includes(name)); - const keywordPattern = /(close[sd]?|fix(e[sd])?|resolve[sd]?)\s+((#[0-9]+)|([\w.-]+\/[\w.-]+#\d+))/i; - const hasKeyword = keywordPattern.test(body); - - if (!hasKeyword && !hasBypassLabel) { - core.setFailed( - 'Add a closing keyword like "Closes #123" to the PR description or apply the "no-issue" label for work not tied to a tracked issue.', - ); - } From eb9c99b8be03469e5e31607aeed815efe9001b6b Mon Sep 17 00:00:00 2001 From: Shirley Ugwa Date: Fri, 23 Jan 2026 23:53:59 +0000 Subject: [PATCH 2/2] add 0.x branch to ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 732dfa8..e12d759 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,7 @@ on: pull_request: branches: - master + - 0.x jobs: quality-checks: