Skip to content

add action related endpoints #166

add action related endpoints

add action related endpoints #166

name: Assert Branch Naming Convention
on:
pull_request:
jobs:
branch-naming-rules:
runs-on: ubuntu-latest
steps:
- uses: deepakputhraya/action-branch-name@master
with:
regex: '([a-z])+\/([a-z0-9]+-*[a-z0-9]+)+' # Regex the branch should match.
allowed_prefixes: 'feature,bugfix,refactor' # All branches should start with the given prefix
ignore: main # Ignore exactly matching branch names from convention
min_length: 3 # Min length of the branch name
max_length: 128 # Max length of the branch name