Skip to content

Commit fc96dbd

Browse files
authored
Merge pull request #15 from PeterVinter/test/changelog-entries
fix: Improve changelog workflow and add Features section
2 parents adf84fd + 135d6e5 commit fc96dbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update-changelog.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ jobs:
8787
if [ ! -z "${{ steps.pr-info.outputs.body }}" ]; then
8888
echo "Processing PR body for additional details"
8989
while IFS= read -r line; do
90-
if [[ "$line" =~ ^-[[:space:]].*$ ]]; then
90+
# Skip PR template checkboxes and empty lines
91+
if [[ "$line" =~ ^-[[:space:]][^[\]]*$ && ! "$line" =~ "[ ]" ]]; then
9192
NEW_ENTRY+="$line\n"
9293
fi
9394
done <<< "${{ steps.pr-info.outputs.body }}"

0 commit comments

Comments
 (0)