Skip to content

Commit 8b69736

Browse files
committed
fix bad codes
1 parent ef97c43 commit 8b69736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/commit-checker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ BRANCH_COMMITS=$(git rev-list ${BRANCH_MERGE_BASE}..HEAD)
2424

2525
# Check every commit message since ancestor for regex match
2626
for commit in $BRANCH_COMMITS; do
27-
CURRENT_COMMIT_MSG=$(git log --max-count=1 --format=%B $commit | tr '[a-z]' '[A-Z]')
27+
COMMIT_MSG_UPPER=$(git log --max-count=1 --format=%B $commit | tr '[a-z]' '[A-Z]')
2828

2929
if echo $COMMIT_MSG_UPPER | grep -iqE "$skip_regex"; then
3030
echo "************"

0 commit comments

Comments
 (0)