From e6dc3cc5c7722cebe452b32563865706087030a5 Mon Sep 17 00:00:00 2001 From: Hector Ventura Date: Sun, 13 Sep 2026 19:51:57 -0500 Subject: [PATCH] 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. --- .github/workflows/changelog-guard.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changelog-guard.yml b/.github/workflows/changelog-guard.yml index 0c683d9..8eb1530 100644 --- a/.github/workflows/changelog-guard.yml +++ b/.github/workflows/changelog-guard.yml @@ -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