Drop the CI-dispatch fallback — verify and warn instead

Merged
JE
4mo ago
+12-20

Codex flagged a valid P1 on fizzy-cli#189 that applies to the whole model (including the openclaw-basecamp original): the fallback gh workflow run <wf> --ref <dependabot-branch> executes the branch's workflow definitions — the freshly bumped, unreviewed action pins — under workflow_dispatch, outside the Dependabot-restricted pull_request context, with whatever permissions those jobs declare (e.g. security-events: write in security.yml). That violates the workflow's own "no unreviewed branch code executes" invariant.

The fallback is nearly-dead code anyway: deploy-key pushes fire normal pull_request synchronize events, so CI starts on its own (openclaw's live runs confirmed this — the dispatch was retained "as a fallback, not the norm"). Replace it with verify-and-warn: poll for a pull_request CI run on the new head; if none appears, emit a warning telling a maintainer to re-run checks from the PR page. Drops the dispatch-workflows input.

Callers need no changes beyond re-pinning (the input was never passed explicitly); pin bumps follow in each repo. Worth upstreaming to openclaw-basecamp too.