Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/protect-backplane-branches.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Protect backplane branches

on:
pull_request:
branches:
- "backplane-5*"
types:
- opened
- reopened
- synchronize
- edited

permissions: {}

jobs:
block:
runs-on: ubuntu-latest
steps:
- name: Block PR
run: |
echo "::error::Direct pull requests to backplane-5.x branches are not accepted."
echo "::error::Changes are synced from main via fast-forward. Please target your PR to the main branch instead."
exit 1
Loading