Skip to content

add env for testing credentials #1036

add env for testing credentials

add env for testing credentials #1036

Workflow file for this run

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|development|release|master)\/* ]]; then exit 0; else exit 1; fi