From c2cc7c42cd93d017fcd94b8e2e917f42114dd478 Mon Sep 17 00:00:00 2001 From: Jordy Hershel Igondjo <49708438+JordyHers@users.noreply.github.com> Date: Tue, 9 Jan 2024 09:41:10 +0100 Subject: [PATCH] Update review.yml --- .github/workflows/review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"