Skip to content

Hotfix/update disclaimers #26

Hotfix/update disclaimers

Hotfix/update disclaimers #26

Workflow file for this run

name: Gitflow Enforcer
on:
pull_request:
types: [opened, reopened, edited, synchronize]
jobs:
gitflow_enforcer:
runs-on: ubuntu-latest
steps:
- name: Check branch
if: github.base_ref == 'main' && (github.head_ref != 'develop' && !startsWith(github.head_ref, 'hotfix/'))
run: |
echo "ERROR: You can only merge to main from develop or hotfix/* branches"
exit 1