woocommerce/plugins/woocommerce-admin/.github/workflows/block-merge-to-main.yml

11 lines
208 B
YAML
Raw Normal View History

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