Repository navigation
Change return type from tuple to set in get_surfaces_numbers #346
Workflow file for this run
This file contains hidden or 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: 'Check that PR to main is coming from dev if necessary' | |
| 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 |