Interface to quantum resource estimation (QRE) tools #363
Workflow file for this run
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: 'Protect Main Branch' | |
on: | |
pull_request: | |
jobs: | |
check_branch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check branch | |
if: github.base_ref == 'main' && github.head_ref != 'develop' | |
run: | | |
echo "ERROR: You can only merge to main from develop. Make sure your PR merges into the right branch." | |
exit 1 |