From c365b144a7720aa44dc6f9b26e034e114323dc96 Mon Sep 17 00:00:00 2001 From: Nicolas Sarlin Date: Thu, 11 Jul 2024 11:38:41 +0200 Subject: [PATCH] chore(ci): allow '!' for breaking changes in commit messages --- .github/workflows/check_commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_commit.yml b/.github/workflows/check_commit.yml index 31f913bb0b..c381ce8c7c 100644 --- a/.github/workflows/check_commit.yml +++ b/.github/workflows/check_commit.yml @@ -10,7 +10,7 @@ jobs: - name: Check first line uses: gsactions/commit-message-checker@16fa2d5de096ae0d35626443bcd24f1e756cafee with: - pattern: '^((feat|fix|chore|refactor|style|test|docs|doc)(\([\w\-_]+\))?\:) .+$' + pattern: '^((feat|fix|chore|refactor|style|test|docs|doc)(\([\w\-_]+\))?\!?\:) .+$' flags: "gs" error: 'Your first line has to contain a commit type and scope like "feat(my_feature): msg".' excludeDescription: "true" # optional: this excludes the description body of a pull request