Skip to content

Re-order outputs

Re-order outputs #17

name: Enforce PR From Develop Branch
on:
pull_request:
branches:
- main
jobs:
check-branch:
runs-on: ubuntu-latest
steps:
- name: Debug
run: echo ${{ github.head_ref }}
- name: Check PR source branch
if: github.head_ref != 'develop'
run: |
echo "Pull requests to main must come from develop branch."
exit 1