docs(ci): correct the same changelog claim in the guard's own error message

My first pass grepped only *.md and *.json, so it missed the two copies inside
changelog-guard.yml: the header comment and the ::error:: text a contributor
actually sees when the guard fires. A repo-wide grep now returns nothing.
This commit is contained in:
Hector Ventura committed 2026-09-13 19:51:57 -05:00
1 parent 3fb3f05074
commit e6dc3cc5c7
1 file changed
+2 -2
+2 -2
View File
@@ -1,7 +1,7 @@
name: Changelog Guard
# CHANGELOG.md is generated by semantic-release (the Release Cut workflow) —
# a contributor's Conventional Commit message IS the changelog entry, so PRs
# a feat, fix or perf subject becomes the release note verbatim, so PRs
# must not edit the file by hand. Genuine corrections (typos in history,
# security notes) are allowed by adding the `changelog-edit` label to the PR.
@@ -21,5 +21,5 @@ jobs:
steps:
- name: Reject hand edits
run: |
echo "::error::CHANGELOG.md is generated by semantic-release — your Conventional Commit message is the changelog entry. Remove the CHANGELOG.md changes from this PR, or ask a maintainer for the 'changelog-edit' label if this is a genuine correction."
echo "::error::CHANGELOG.md is generated by semantic-release — a feat, fix or perf subject becomes the release note, so hand edits conflict with the release commit. Remove the CHANGELOG.md changes from this PR, or ask a maintainer for the 'changelog-edit' label if this is a genuine correction."
exit 1