Run test suite as GitHub workflow #4
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: Validate pull request | |
on: | |
pull_request: | |
jobs: | |
validate_branches: | |
name: Validate branches | |
runs-on: ubuntu-latest | |
steps: | |
- name: Validate branches | |
if: github.base_ref == 'master' && github.head_ref != 'develop' | |
run: | | |
echo "Contributions should be made against the develop branch, see README.rst." | |
exit 1 |