Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/reusable-conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
HASH=$(echo "$line" | cut -d' ' -f1)
MSG=$(echo "$line" | cut -d' ' -f2-)

# Skip merge commits
if [[ "$MSG" == Merge* ]]; then
# Skip messages git itself generates (merges, reverts).
if [[ "$MSG" == Merge* || "$MSG" == Revert\ \"* ]]; then
continue
fi

Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.6.2] - 2026-05-02

### Fixed

- `reusable-conventional-commits.yml` — skip the default message that `git revert` generates
(`Revert "<original subject>"`) the same way merge commits are skipped. Previously the
validator rejected reverts and forced contributors to hand-edit the message into the
conventional schema, which dropped the `Revert "` prefix that release-please and similar
tools rely on to group reverts. Hand-written `revert: …` / `revert(scope): …` subjects are
still validated against `allowed-types`. (#33)
Comment on lines +12 to +17
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The implementation of the fix described in this CHANGELOG entry and the pull request description (extending the merge-commit skip in reusable-conventional-commits.yml) appears to be missing from the current changes. Only CHANGELOG.md has been modified. Please ensure the corresponding logic changes are included in the pull request.


## [0.6.1] - 2026-05-01

### Fixed
Expand Down
Loading