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