CI: Disallow pulls to stable

This commit is contained in:
Wilson Snyder
2026-03-02 17:48:32 -05:00
parent 1f2f4d9bba
commit ee68d1c70c
+15
View File
@@ -0,0 +1,15 @@
---
# Block PRs against stable branch
name: "Check PR not against 'stable'"
on:
pull_request:
branches: [stable]
jobs:
block-pr:
runs-on: ubuntu-latest
steps:
- name: Fail and block PR
run: |-
echo "Error: Pull requests directly to 'stable' are not allowed. Please PR against 'master'."
exit 1