diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index c1c669a..2a930f3 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -37,7 +37,7 @@ jobs: branch_name="${{ github.event.pull_request.head.ref }}" regex="^(feature|bugfix|hotfix|chore|merge|MERGE)\/[a-zA-Z0-9\-]+$" - if [[ ! $branch_name =~ $regex && "$branch_name" != "master" && "$branch_name" != "dev" ]]; then + if [[ ! $branch_name =~ $regex && "$branch_name" != "master" && "$branch_name" != "dev" && ! "$branch_name" =~ ^dependabot/ ]]; then echo "error: Branch name does not follow naming convention" echo "Please follow the correct format: /" echo "Example: feature/sc-3000-create-new-button-component or chore/my-feature"