feat!: update models to ga4gh gks nov 2024 ballot releases #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Branch workflow rules | |
on: | |
pull_request: | |
types: [opened, reopened, edited] | |
jobs: | |
check-branch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check_branch_names | |
if: ${{ github.base_ref == 'main' && github.head_ref != 'staging' }} | |
run: | | |
echo "Head branch must be 'staging' when creating a PR where the base branch is 'main'" | |
exit 1 |