diff --git a/.github/scripts/create-repo.sh b/.github/scripts/create-repo.sh index 5d14c008..6947f350 100755 --- a/.github/scripts/create-repo.sh +++ b/.github/scripts/create-repo.sh @@ -4,7 +4,7 @@ last_commit_log=$(git log -1 --pretty=format:"%s") echo "last commit log: $last_commit_log" -filter_count=$(echo "$last_commit_log" | grep -c '\[RELEASE CI\]' ) +filter_count=$(echo "$last_commit_log" | grep -e '\[RELEASE CI\]' -e '\[CI RELEASE\]' | wc -c) echo "count is: $filter_count" if [ "$filter_count" -gt 0 ]; then