From 87f1324b5bce4b879c46c3c69339f5959c641a48 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 21:27:52 +0000 Subject: [PATCH] Dogfood caller: judge only pull requests into main pull_request_target takes its workflow from the default branch whatever the base (GitHub, since 2025-12-08), so main's caller judged #99 (into rebuild-8) against a base with no policy, and stopped. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KhsqyyRymDrLq3oDvkMopj --- .github/workflows/morphogen.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/morphogen.yml b/.github/workflows/morphogen.yml index 25f468f..0779c3c 100644 --- a/.github/workflows/morphogen.yml +++ b/.github/workflows/morphogen.yml @@ -1,10 +1,12 @@ # Dogfood: the rebuild-8 judge (pinned by commit) sees every pull request to main. Those touching the # toy in dogfood/topwords are judged; the rest get a signed "pass (not judged)", or a refusal if they # touch the judge's own ground (workflows, .morphogen/, protected paths), which a person then merges -# by the ruleset's bypass. Definition from the base branch (pull_request_target). +# by the ruleset's bypass. GitHub takes a pull_request_target workflow from the default branch whatever +# the pull request's base, so `branches` keeps this caller to pull requests into main. name: morphogen on: pull_request_target: + branches: [main] types: [opened, synchronize, reopened, edited] permissions: {} jobs: