Browse Source

remove block-master-prs workflow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
handoff-20260429-1057
shrimbly 6 months ago
parent
commit
a090143233
  1. 16
      .github/workflows/block-master-prs.yml

16
.github/workflows/block-master-prs.yml

@ -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
Loading…
Cancel
Save