From e80f5f5e577a3b39912ae80dcd2db9b839dc2b37 Mon Sep 17 00:00:00 2001 From: Jacob Sussmilch Date: Wed, 2 Sep 2026 18:01:38 +0800 Subject: [PATCH] ci: KEEP-1307 stop telling contributors to re-run the gate by hand Same correction as keeperhub: recheck-issue-link re-runs the check when an issue is labelled accepted, so the instruction to re-run the job by hand is false and is shown to a contributor who is waiting on our triage. Also drops a duplicate `main` from decision-label-check's branch list, left by the KEEP-1304 port - the keeperhub file lists staging, prod and main, and the port replaced only the first two. --- .github/workflows/decision-label-check.yml | 1 - .github/workflows/pr-issue-link.yml | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/decision-label-check.yml b/.github/workflows/decision-label-check.yml index 202807d..d3c2ddb 100644 --- a/.github/workflows/decision-label-check.yml +++ b/.github/workflows/decision-label-check.yml @@ -27,7 +27,6 @@ on: types: [opened, synchronize, reopened, labeled, unlabeled] branches: - main - - main permissions: contents: read diff --git a/.github/workflows/pr-issue-link.yml b/.github/workflows/pr-issue-link.yml index 8b0d401..6481d1b 100644 --- a/.github/workflows/pr-issue-link.yml +++ b/.github/workflows/pr-issue-link.yml @@ -160,9 +160,8 @@ jobs: if [ -n "$awaiting" ]; then md+="**Nothing to do on your side.** The issue is filed and is waiting for a " md+="maintainer to triage it and apply the \`$ACCEPTED_LABEL\` label; that step " - md+="is ours, not yours. This check reruns when the pull request is pushed or " - md+="edited, not when the issue is labelled, so once \`$ACCEPTED_LABEL\` lands, " - md+="re-run the job or edit the title to retrigger it." + md+="is ours, not yours. Once \`$ACCEPTED_LABEL\` lands this check re-runs on " + md+="its own and turns green; there is nothing to re-trigger by hand." else md+="**Outside contributions** start with an issue. Open one, wait for a " md+="maintainer to apply the \`$ACCEPTED_LABEL\` label, then put \`#N\` in the " @@ -170,8 +169,8 @@ jobs: md+="No issue is needed for typos, broken links, formatting, or docs corrected to " md+="match existing behaviour; retitle with one of: \`$EXEMPT_TYPES\`. Full policy: " md+="[ISSUES.md](https://github.com/$REPO/blob/main/ISSUES.md)."$'\n\n' - md+="This check reruns on every push and edit, but not when the issue changes; " - md+="re-run the job or edit the title to retrigger it." + md+="This check reruns on every push and edit, and again on its own once a " + md+="referenced issue is labelled \`$ACCEPTED_LABEL\`." fi echo "----------------------------------------------"