mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-12-04 02:28:08 -05:00
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:
1 file changed
+2
-2
@@ -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
|
||||
Reference in new issue
Block a user