Skip to content

Manually merged release-0.4.1 branch and 27-new-caching-solution. #39

Manually merged release-0.4.1 branch and 27-new-caching-solution.

Manually merged release-0.4.1 branch and 27-new-caching-solution. #39

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