Skip to content

fix: change export name of cognito domain for ci #54

fix: change export name of cognito domain for ci

fix: change export name of cognito domain for ci #54

name: Gitflow enforcer 🚀
on:
pull_request:
branches:
- main
- dev
- production
types: [ opened, reopened, edited, synchronize ]
jobs:
gitflow-enforcer:
runs-on: ubuntu-latest
steps:
- name: Check branch
if: github.base_ref == 'main' && github.head_ref != 'dev' || github.base_ref == 'production' && github.head_ref != 'main'
run: |
echo "ERROR: You can only merge to main from dev and to production from main"
exit 1