From a090143233260892f9df194287a9f2e3fb823cec Mon Sep 17 00:00:00 2001 From: shrimbly Date: Thu, 15 Jan 2026 22:14:12 +1300 Subject: [PATCH] remove block-master-prs workflow Co-Authored-By: Claude Opus 4.5 --- .github/workflows/block-master-prs.yml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .github/workflows/block-master-prs.yml diff --git a/.github/workflows/block-master-prs.yml b/.github/workflows/block-master-prs.yml deleted file mode 100644 index 32d3f1a8..00000000 --- a/.github/workflows/block-master-prs.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Enforce Develop Branch -on: - pull_request: - branches: - - master # Triggers only on PRs targeting master - -jobs: - guard-master: - runs-on: ubuntu-latest - steps: - - name: Check base branch - # logic: If the PR is NOT coming from a release or hotfix branch, block it. - if: "!startsWith(github.head_ref, 'release/') && !startsWith(github.head_ref, 'hotfix/')" - run: | - echo "::error::⛔ WRONG BRANCH: You are trying to merge into 'master'. Please change the base branch of this PR to 'develop'." - exit 1