diff --git a/.github/workflows/branch-name.yml b/.github/workflows/branch-name.yml index 81a679a..57bf7a2 100644 --- a/.github/workflows/branch-name.yml +++ b/.github/workflows/branch-name.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: deepakputhraya/action-branch-name@master with: - regex: '([a-z])+\/([a-z0-9.-])+' + regex: '([a-z])*\/?([a-z0-9.-])+' allowed_prefixes: 'feat,fix,build,chore,ci,docs,style,refactor,perf,test,revert,release' ignore: main min_length: 5