Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from creative-commoners/pulls/1.0/bullet-points
Browse files Browse the repository at this point in the history
FIX Remove leading bullet points
  • Loading branch information
GuySartorelli authored Apr 18, 2024
2 parents 75ce96d + c36bf8e commit 0ae4104
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ runs:
# Parse comits one line at a time
HAS_THINGS_TO_RELEASE=0
while IFS="" read -r line || [[ -n $line ]]; do
# Remove any leading bullet points
line="${line#\* }"
line="${line#\-}"
line="${line# }"
if ! [[ "$line" =~ ^(Merge|MNT|DOC) ]] && ! [[ $line =~ ^[[:space:]]*$ ]]; then
HAS_THINGS_TO_RELEASE=1
break
Expand Down

0 comments on commit 0ae4104

Please sign in to comment.