Skip to content

Commit

Permalink
🧼 Improve validate changelog error message
Browse files Browse the repository at this point in the history
  • Loading branch information
carloscasalar committed Dec 10, 2024
1 parent 17308a7 commit ab3466b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
- name: Validate CHANGELOG format
run: |
if ! grep -qE '^## \[[0-9]+\.[0-9]+\.[0-9]+\] - [0-9]{4}-[0-9]{2}-[0-9]{2}' CHANGELOG.md; then
echo "CHANGELOG format is incorrect, versions should be in the format ## X.Y.Z"
echo "CHANGELOG format is incorrect, version section title should be in the format ## [X.Y.Z] - YYYY-MM-DD"
exit 1
fi

0 comments on commit ab3466b

Please sign in to comment.