Skip to content

Commit

Permalink
[#0] enhance check-commit-convention.yml to avoid [#0] commit
Browse files Browse the repository at this point in the history
  • Loading branch information
swthewhite authored Feb 13, 2025
1 parent f74da0a commit dabd534
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-commit-convention.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
invalid_commits=0
echo "πŸ” Checking commit message convention..."
while IFS= read -r commit_message; do
# "Merge"둜 μ‹œμž‘ν•˜λŠ” λ©”μ‹œμ§€λŠ” κ²€μ‚¬μ—μ„œ μ œμ™Έ
if [[ "$commit_message" =~ ^Merge ]]; then
echo "⚑ Skipping merge commit: $commit_message"
# "Merge"둜 μ‹œμž‘ν•˜λŠ” λ©”μ‹œμ§€ λ˜λŠ” "[#0]"이 ν¬ν•¨λœ λ©”μ‹œμ§€λŠ” κ²€μ‚¬μ—μ„œ μ œμ™Έ
if [[ "$commit_message" =~ ^Merge || "$commit_message" =~ \[\#0\] ]]; then
echo "⚑ Skipping commit: $commit_message"
continue
fi
Expand Down

0 comments on commit dabd534

Please sign in to comment.