11 lines
208 B
YAML
11 lines
208 B
YAML
|
name: 'Block Merge To main'
|
||
|
on: [ pull_request ]
|
||
|
|
||
|
jobs:
|
||
|
block_merge:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Merge Blocked
|
||
|
if: github.event.pull_request.base.ref == 'main'
|
||
|
run: exit 1
|