From b73aa7c6eec2c7c70f98219b78cdb9c1ba1679e6 Mon Sep 17 00:00:00 2001 From: Paul ARNAUD <32633519+PaulArnaud@users.noreply.github.com> Date: Wed, 30 Jul 2025 16:38:46 +0200 Subject: [PATCH] feat: accept ! for breaking change inside commit title --- actions/lint-pr-title/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/lint-pr-title/action.yaml b/actions/lint-pr-title/action.yaml index 3f00bba..5330d18 100644 --- a/actions/lint-pr-title/action.yaml +++ b/actions/lint-pr-title/action.yaml @@ -13,7 +13,7 @@ runs: steps: - name: lint pull request title run: | - if ! [[ "$TITLE" =~ (^$PREFIXES)(\(.+\))?:.+$ ]]; then + if ! [[ "$TITLE" =~ (^$PREFIXES)(\(.+\))?!?:.+$ ]]; then echo "Invalid pull request title $TITLE" echo "Title must use one of the following prefix: ${{ inputs.prefixes }}" echo "Learn more at https://www.conventionalcommits.org/en/v1.0.0/"