Skip to content

51 reduce memory burden of pipeline #14

51 reduce memory burden of pipeline

51 reduce memory burden of pipeline #14

name: Check merging branch
on:
pull_request:
jobs:
check_branch:
runs-on: ubuntu-latest
steps:
- name: Check branch
if: github.base_ref == 'main' && github.head_ref != 'dev'
run: |
echo "ERROR: You can only merge to main from dev."
exit 1