Skip to content

Validate missing elements against parsed metadata #1456

Validate missing elements against parsed metadata

Validate missing elements against parsed metadata #1456

Workflow file for this run

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)" ]]