From caa81ff0d8602c834995d820be6ebfd5631b390c Mon Sep 17 00:00:00 2001 From: thedancingdeveloper Date: Mon, 17 Aug 2026 03:45:48 +0000 Subject: [PATCH] ci: allow the runner-policy gate to be dispatched A run that fails to resolve the reusable workflow produces no jobs, and GitHub refuses to retry a jobless run. Every public repository's gate was in exactly that state while github-policy was private, so there was no way to re-verify one after the cause was fixed without pushing a commit. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/runner-policy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/runner-policy.yml b/.github/workflows/runner-policy.yml index 65a1c1f..b89cd93 100644 --- a/.github/workflows/runner-policy.yml +++ b/.github/workflows/runner-policy.yml @@ -10,6 +10,11 @@ on: pull_request: push: branches: [main] + # Lets the gate be re-run without a push. Needed because a run that fails to + # resolve the reusable workflow produces no jobs, and GitHub refuses to retry + # a jobless run -- which is exactly the state every public repo's gate was in + # while github-policy was private. + workflow_dispatch: jobs: runner-policy: