🧹 Make CreateRelationshipJob work for Valkyrie #1185
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: Verify | |
on: | |
pull_request: | |
branches: | |
- '**' | |
push: | |
branches: | |
- master | |
jobs: | |
branches: | |
runs-on: ubuntu-latest | |
name: Disallow "master" branch name | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check branch names | |
run: | | |
git fetch --all --quiet --prune --prune-tags | |
if [[ -n "$(git branch --all --list master */master)" ]]; then | |
echo "A branch named 'master' was found. Please remove it." | |
echo "$(git branch --all --list master */master)" | |
fi | |
[[ -z "$(git branch --all --list master */master)" ]] |