From 78900a24fb18e2307f273a853782d316c82ae015 Mon Sep 17 00:00:00 2001 From: jjbrunton Date: Fri, 28 Aug 2026 20:41:18 +0100 Subject: [PATCH] ci(staging): enable direct verification Allow agents to run required checks manually against an exact commit before pushing it directly to staging, while retaining protected status checks. --- .github/workflows/verify.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 078aa3b..4878774 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -1,6 +1,7 @@ name: Verify on: + workflow_dispatch: pull_request: push: branches: [staging, main] @@ -11,10 +12,10 @@ concurrency: jobs: branch-policy: - if: github.event_name == 'pull_request' runs-on: ubuntu-latest steps: - name: Enforce promotion flow + if: github.event_name == 'pull_request' env: BASE_BRANCH: ${{ github.base_ref }} HEAD_BRANCH: ${{ github.head_ref }} @@ -31,6 +32,9 @@ jobs: echo "Feature pull requests target staging; promotions target main" >&2 exit 1 fi + - name: Confirm direct verification + if: github.event_name != 'pull_request' + run: echo "Direct branch verification requested for $GITHUB_SHA" static: runs-on: ubuntu-latest