Skip to content

Updating main with changes added to Dev #47

Updating main with changes added to Dev

Updating main with changes added to Dev #47

name: 'Check branch names for pull requests'
on:
pull_request:
types:
- opened
- reopened
- synchronize
- edited
jobs:
check_branch_names:
runs-on: ubuntu-latest
steps:
- name: Check branch
if: github.base_ref == 'main' && github.head_ref == 'main'
run: |
echo "ERROR: Pull requests to main must come from a topic branch, not main."
exit 1