style(ci): give the monthly digest a light-gray Slack bar (match PR notifications)#27
Open
damianrosellen1 wants to merge 1 commit into
Open
style(ci): give the monthly digest a light-gray Slack bar (match PR notifications)#27damianrosellen1 wants to merge 1 commit into
damianrosellen1 wants to merge 1 commit into
Conversation
Render the digest inside a Slack attachment with a left color bar instead of bare blocks, matching the PR notifications' look. Uses a neutral light-gray (#CCCCCC) so the monthly summary reads distinct from the event-colored PR notifications (green/blue/purple). Both the populated and the "No PRs" branches get the bar. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Follow-up to the digest fixes (#25, #26). The monthly digest posted bare
blocks(no left bar), unlike the PR notifications which wrap their blocks in a Slack attachment with acolor— that's what renders the colored left bar.Change
Wrap the digest payload in
attachments: [{ color: "#CCCCCC", blocks: [...] }]— both the populated and the "No PRs" branch. Neutral light-gray so the monthly summary reads as distinct from the event-colored PR notifications (green = new, blue = Dependabot, purple = merged).Trivial to retune: it's a single
ACCENThex in the Build Slack digest step.Verified
Extracted the jq from the workflow and ran both branches against real June data:
{attachments:[{color:"#CCCCCC", blocks:[8 blocks]}]}, valid{attachments:[{color:"#CCCCCC", blocks:[1 block]}]}, valid🤖 Generated with Claude Code