From b2858dc3289b4fdd9ee97355e3ece9a2bcd30a8a Mon Sep 17 00:00:00 2001 From: Kevin Turcios Date: Thu, 23 Apr 2026 05:01:02 -0500 Subject: [PATCH 1/2] chore: skip linked-issue check for org members Use github.event.pull_request.author_association to bypass the linked-issue requirement for MEMBER and COLLABORATOR authors. External contributors still must reference an issue or discussion. --- .github/workflows/ci.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2c5248145..1aab75ec5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,6 +36,7 @@ jobs: env: PR_BODY: ${{ github.event.pull_request.body }} PR_AUTHOR: ${{ github.event.pull_request.user.login }} + AUTHOR_ASSOCIATION: ${{ github.event.pull_request.author_association }} run: | # Skip for bots (dependabot, renovate, github-actions) if [[ "$PR_AUTHOR" == *"[bot]"* || "$PR_AUTHOR" == "dependabot" ]]; then @@ -43,6 +44,12 @@ jobs: exit 0 fi + # Skip for org members and collaborators + if [[ "$AUTHOR_ASSOCIATION" == "MEMBER" || "$AUTHOR_ASSOCIATION" == "COLLABORATOR" ]]; then + echo "Org member/collaborator ($PR_AUTHOR) — skipping linked issue check." + exit 0 + fi + if [ -z "$PR_BODY" ]; then echo "::error::PR body is empty. Every PR must link an issue or discussion." echo "Use 'Closes #', 'Fixes #', 'Relates to #', or include a discussion URL." From 92c8727495977898d5524bc0d843b129f29ab745 Mon Sep 17 00:00:00 2001 From: Kevin Turcios Date: Thu, 23 Apr 2026 05:05:12 -0500 Subject: [PATCH 2/2] fix: only skip linked-issue check for org members, not collaborators --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1aab75ec5..a16472eef 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -44,9 +44,9 @@ jobs: exit 0 fi - # Skip for org members and collaborators - if [[ "$AUTHOR_ASSOCIATION" == "MEMBER" || "$AUTHOR_ASSOCIATION" == "COLLABORATOR" ]]; then - echo "Org member/collaborator ($PR_AUTHOR) — skipping linked issue check." + # Skip for org members + if [[ "$AUTHOR_ASSOCIATION" == "MEMBER" ]]; then + echo "Org member ($PR_AUTHOR) — skipping linked issue check." exit 0 fi