From 50f36dbc6ce6a78b3bc0a5326a559bd1df7fd2a0 Mon Sep 17 00:00:00 2001 From: Moritz Utcke Date: Wed, 11 Jun 2025 13:38:54 -0500 Subject: [PATCH] Workflow --- .github/workflows/enforce-pr-source.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/enforce-pr-source.yml b/.github/workflows/enforce-pr-source.yml index eec6cf73..4409e425 100644 --- a/.github/workflows/enforce-pr-source.yml +++ b/.github/workflows/enforce-pr-source.yml @@ -2,6 +2,7 @@ name: Enforce PR Source on: pull_request: + types: [opened, synchronize, reopened, ready_for_review] branches: - main @@ -11,8 +12,6 @@ jobs: steps: - name: Enforce only staging → main run: | - echo "head_ref: ${{ github.head_ref }}" - echo "base_ref: ${{ github.base_ref }}" if [[ "${{ github.head_ref }}" != "staging" ]]; then echo "ERROR: Only 'staging' branch may create PRs into 'main'!" exit 1