Conversation
d5d4ab2 to
8061d2c
Compare
…rade to Block Kit - Fix regex to allow spaces in multi-scope commits (e.g. "chore(companion, bs, frontend):") - Place multi-scope commits under first (primary) scope only - Filter out merge commits (Merge branch, Merge remote-tracking, Merge pull request) - Add Block Kit formatted output when sort-commits is enabled: - Scopes sorted alphabetically with headers - Types sorted alphabetically within each scope - Commits sorted by author within each type - Section splitting to respect Slack's 3000-char block text limit - Payload-based chunking to respect Slack's ~40KB message limit - Use only first line of commit message in synchronize notifications - Handle edge case when all commits are filtered out - Add error logging for failed Slack block posts - Enable sort-commits in workflow
2614137 to
d473c0b
Compare
mduchev
approved these changes
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slack message_ts: 1774550949.224129
Summary
/^\w+\(([\w,]+)\):/to/^\w+\(([\w,\s]+)\):/so commits likechore(companion, bs, frontend):are correctly parsed instead of falling into "other"chore(companion, bs, frontend):) are now placed under the first (primary) scope only, instead of duplicating across all scopesMerge branch '...',Merge remote-tracking branch '...', andMerge pull request #...from the initial commit list (does not affectsynchronizeevent notifications)sort-commits=true, sends structured Block Kit messages with headers per scope, type groupings, dividers, and changelog link. Includes chunking for Slack's 50-block limit. Falls back to plain text whensort-commits=false(fully backward compatible)Test plan
npm test)npm run buildgeneratesdist/index.jssuccessfully