From cccaa3e73e5211cca2cd1c518c0fb4ae63251fd5 Mon Sep 17 00:00:00 2001 From: Prajjwal Poudel <85762481+iamprazol@users.noreply.github.com> Date: Fri, 4 Dec 2026 08:28:50 +0545 Subject: [PATCH 1/2] Fix - Run the QA suite only on an @claudegrill suite comment --- .github/workflows/qa-suite.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/qa-suite.yml b/.github/workflows/qa-suite.yml index dfdbeb5..10707f5 100644 --- a/.github/workflows/qa-suite.yml +++ b/.github/workflows/qa-suite.yml @@ -3,19 +3,19 @@ # THIS IS THE ONLY PR CHECK MOST PRODUCTS NEED. No ANTHROPIC_API_KEY, no agent, # runner minutes only. # -# It works without AI because the developer already wrote the spec: they ran -# /claudegrill:verify-fix locally, write-spec added a @fresh spec to their -# branch, and they committed it with the fix. By the time CI sees the PR the -# regression is already a deterministic assertion. +# It works without AI because the specs are already written. QA analyse the +# change, run /claudegrill:write-spec themselves (giving it context), and push +# the specs to the PR where they are needed. The developer writes none. # -# It runs once when a PR opens, and after that ON REQUEST. Pushing a commit does -# NOT re-run it. To run it against the PR's current head, comment: +# It runs ONLY ON REQUEST, after QA have written and pushed the specs. Opening a +# PR, or pushing to one, starts nothing. To run it against the PR's current +# head, comment: # # @claudegrill suite # # 👀 means it started; 🚀 or 😕 means it finished, and the result comment on the # PR is edited in place. Only owners, members and collaborators can trigger it, -# and never on a PR from a fork: close and reopen that PR instead. +# and never on a PR from a fork. # # A comment does nothing until THIS FILE IS ON THE DEFAULT BRANCH, because # GitHub reads `issue_comment` workflows from there and never from the PR. @@ -38,9 +38,6 @@ name: QA suite on: - pull_request: - # No `synchronize`: a push does not spend runner minutes. - types: [opened, reopened, ready_for_review] issue_comment: types: [created] workflow_dispatch: @@ -51,7 +48,7 @@ jobs: # is not the command stops here and never starts the reusable workflow, # which checks the command again and also who wrote it. if: github.event_name != 'issue_comment' || startsWith(github.event.comment.body, '@claudegrill suite') - uses: ThemeGrill/claudegrill/.github/workflows/suite.yml@v1.7.1 + uses: ThemeGrill/claudegrill/.github/workflows/suite.yml@main with: product_slug: flash product_type: theme From edaa54217a5c4e578cef06d5627195543c6df462 Mon Sep 17 00:00:00 2001 From: Prajjwal Poudel <85762481+iamprazol@users.noreply.github.com> Date: Fri, 4 Dec 2026 08:58:42 +0545 Subject: [PATCH 2/2] Fix - Say a manual dispatch also runs the QA suite and drop stale pull_request and tag comments --- .github/workflows/qa-suite.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/qa-suite.yml b/.github/workflows/qa-suite.yml index 10707f5..d93cc2e 100644 --- a/.github/workflows/qa-suite.yml +++ b/.github/workflows/qa-suite.yml @@ -7,9 +7,10 @@ # change, run /claudegrill:write-spec themselves (giving it context), and push # the specs to the PR where they are needed. The developer writes none. # -# It runs ONLY ON REQUEST, after QA have written and pushed the specs. Opening a -# PR, or pushing to one, starts nothing. To run it against the PR's current -# head, comment: +# It runs ON REQUEST, after QA have written and pushed the specs. Opening a PR, +# or pushing to one, starts nothing. A manual run (workflow_dispatch) is the one +# other way in, and is deliberately not gated on a comment. To run it against the +# PR's current head, comment: # # @claudegrill suite #