bq - check if table does not exist, raise exception #26
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
## Here we validate the current PR is already in another branch | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check-lineage: | |
name: Check feature branch is merged into develop | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Check that this commit is merged into develop | |
run: if git merge-base --is-ancestor refs/remotes/origin/${{ github.head_ref }} refs/remotes/origin/develop; then echo "Develop branch is up to date with branch ${{ github.head_ref }}"; else echo "Develop branch is behind branch ${{ github.head_ref }}" && exit 1;fi |