Fix wrong link to Go documentation in docs at initialisms (#312) #1612
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: Branch | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
env: | |
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | |
jobs: | |
check-branch-name: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for branch name | |
run: | |
if [[ $BRANCH_NAME =~ (feature|bugfix|hotfix|dependabot|development|release|master)\/* ]]; then exit 0; else exit 1; fi |