Skip to content

style(ci): give the monthly digest a light-gray Slack bar (match PR notifications)#27

Open
damianrosellen1 wants to merge 1 commit into
mainfrom
style/digest-slack-attachment-bar
Open

style(ci): give the monthly digest a light-gray Slack bar (match PR notifications)#27
damianrosellen1 wants to merge 1 commit into
mainfrom
style/digest-slack-attachment-bar

Conversation

@damianrosellen1

Copy link
Copy Markdown
Contributor

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 a color — 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 ACCENT hex in the Build Slack digest step.

Verified

Extracted the jq from the workflow and ran both branches against real June data:

  • populated → {attachments:[{color:"#CCCCCC", blocks:[8 blocks]}]}, valid
  • "No PRs" → {attachments:[{color:"#CCCCCC", blocks:[1 block]}]}, valid

🤖 Generated with Claude Code

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant