Skip to content

Commit

Permalink
MAT-6378 whitelist automerge messages
Browse files Browse the repository at this point in the history
  • Loading branch information
adongare committed Feb 13, 2024
1 parent 7ec5647 commit c614a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/commit_message_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
BASE_BRANCH=${{ github.event.pull_request.base.ref }}
msg_regex='MAT-[0-9]+\s.*'
# This list permits some commits
commit_static_permit_list="(^Merge pull request \#)|(^Merge remote-tracking branch \")|(^Merge branch)|(^Revert \")"
commit_static_permit_list="(^Merge pull request \#)|(^Merge remote-tracking\s.*)|(^Merge branch)|(^Revert \")"
# Initialize invalidCommit as false, will be set to true by any invalid commits
invalidCommit=false
CURRENT_BRANCH=$(git branch | grep ^\* | cut -d "*" -f 2 | cut -d " " -f 2)
Expand Down

0 comments on commit c614a5c

Please sign in to comment.