Skip to content

refactor: reformat middleware & create enforcer.yml #3

refactor: reformat middleware & create enforcer.yml

refactor: reformat middleware & create enforcer.yml #3

Workflow file for this run

name: "Check Branch"
on:
pull_request:
jobs:
check_branch:
runs-on: ubuntu-latest
steps:
- name: Check branch
if: github.base_ref == 'main' && github.head_ref != 'develop'
run: |
echo "ERROR: You can only merge to main from dev."
exit 1