Allow selection of driver version and set 14ab2ff as current default #119
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: Require release branch | |
on: | |
pull_request: | |
jobs: | |
check_branch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check branch | |
if: github.base_ref == 'master' && github.head_ref != 'dev' | |
run: | | |
echo "ERROR: You can only merge to master from dev. Contributors should point their PRs to the dev branch." | |
exit 1 | |
- uses: actions/checkout@v3 | |
if: github.base_ref == 'master' | |
with: | |
fetch-depth: 0 | |
- name: Check version.py | |
if: github.base_ref == 'master' | |
run: | | |
git diff --name-only origin/master | grep -q version.py || (echo "Need to change version for pushes to master!" && exit 1) |