diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index aaa8497..55008f0 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,8 +6,14 @@ merge, one closing keyword per issue (cross-repo: `Closes /#`). Supported keywords are GitHub's: https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue -If this PR closes no issue, replace that line with `No related issue: ` -for an orphan PR (drift sweep, hotfix, refactor). +If this PR closes no issue (an orphan PR: drift sweep, hotfix, refactor), +replace that line with the no-issue escape and its reason, as plain text: + +No related issue: + +The reason is required. Write the escape without backticks: the gate masks +inline code spans before matching, so a backticked escape is invisible to it +and the PR draws the advisory `needs-issue-linkage` label anyway. Every `##` section below must be filled with real content. HTML comments like this one are stripped before validation, so an untouched template is reported @@ -33,6 +39,7 @@ exact rule it applied and is authoritative over this comment.