From a87b3e1688f7ab3e4db505833c48c68035ac204c Mon Sep 17 00:00:00 2001 From: Philippe Weidmann Date: Tue, 26 Mar 2024 11:17:49 +0100 Subject: [PATCH] ci: Fix fail on merge message --- .github/workflows/semantic-commit.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/semantic-commit.yml b/.github/workflows/semantic-commit.yml index 28b5a15..65da923 100644 --- a/.github/workflows/semantic-commit.yml +++ b/.github/workflows/semantic-commit.yml @@ -1,11 +1,5 @@ name: 'PR and Commit Message Check' on: - pull_request: - types: - - opened - - edited - - reopened - - synchronize pull_request_target: types: - opened @@ -21,7 +15,7 @@ jobs: - name: Check Commit Message uses: gsactions/commit-message-checker@v2 with: - pattern: '^(feat|fix|chore|docs|style|refactor|perf|ci|test)(\(.+\))?: [A-Z0-9].+' + pattern: '^Merge .+|(^(feat|fix|chore|docs|style|refactor|perf|ci|test)(\(.+\))?: [A-Z0-9].+)' error: 'Commit messages and PR title should match conventional commit convention and start with a majuscule.' excludeDescription: 'true' excludeTitle: 'false'