update source_flag to work with spherical and allow geometric source terms for 1d spherical #598
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: check PR branch | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- edited | |
jobs: | |
check-PR-branch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: PRs should not target main | |
run: | | |
if [[ "${{ github.base_ref }}" == "main" ]]; then | |
echo 'Pull requests must not be made against main. Please target development instead.' | |
exit 1 | |
fi |