From 4b1bf40686cd382dbccc731668820a82b2d642ee Mon Sep 17 00:00:00 2001 From: Sawyer Cutler Date: Thu, 5 Nov 2026 06:10:36 -0800 Subject: [PATCH] chore(policy): require a linked issue only from outside contributors --- .corbits-triage.yml | 49 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/.corbits-triage.yml b/.corbits-triage.yml index 85917f73..0e75aaaf 100644 --- a/.corbits-triage.yml +++ b/.corbits-triage.yml @@ -6,11 +6,19 @@ groups: - brianjfox - pratikbuilds - etodanik + outside: + association: + - CONTRIBUTOR + - FIRST_TIME_CONTRIBUTOR + - FIRST_TIMER + - NONE + - MANNEQUIN rules: - check: linked-issue text: Link a GitHub or Linear issue. Open an issue for the change first, then a pull request that links it. tracker: either - reason: Every change starts from an issue that says what and why. + enabled: false + reason: Outside contributors start from an issue that says what and why; the actions close their pull requests that link none. evidence: - maintainer-stated - check: focused @@ -239,25 +247,62 @@ actions: above: P2 author: - approved + - do: comment + target: + body: Open an issue for this change first, then a pull request that links it. + when: + linkedIssue: false + author: + - group: outside + - do: close + when: + linkedIssue: false + author: + - group: outside - do: request-review target: to: codeowners when: + linkedIssue: true author: - - external + - group: outside fail: - do: comment target: body: Open an issue for this change first, then a pull request that links it. when: linkedIssue: false + author: + - group: outside - do: close when: linkedIssue: false + author: + - group: outside - do: request-changes when: linkedIssue: true + author: + - group: outside + - do: request-changes + when: + author: + - maintainers + - bots + - group: approved unsure: + - do: comment + target: + body: Open an issue for this change first, then a pull request that links it. + when: + linkedIssue: false + author: + - group: outside + - do: close + when: + linkedIssue: false + author: + - group: outside - do: assign target: to: users