Uh oh!
There was an error while loading. Please reload this page.
feat: add issue labels to Slack notification webhook payload - #1162
Conversation
agentcore-cli-automation
left a comment
There was a problem hiding this comment.
LGTM. Small, focused change that follows the existing pattern for payload fields in this workflow. The join(github.event.issue.labels.*.name, ', ') expression is the correct way to flatten labels to a comma-separated string for Slack Workflow Builder.
Non-blocking observation (pre-existing, not introduced by this PR): fields interpolated directly into double-quoted YAML strings (issue_title, issue_author, and now labels) could break YAML parsing if they contain a " character. GitHub label names do allow quotes, so if that ever becomes a problem the fix would be to use toJSON(...) like issue_body does. Not something to address here.
Coverage Report
|
Hweinstock
commented
May 7, 2026
formatting failure addressed in #1167 |
Uh oh!
There was an error while loading. Please reload this page.
Description
Adds issue labels as a comma-separated string to the Slack webhook payload, making them available as a variable in Slack Workflow Builder.
Related Issue
Closes #
Documentation PR
N/A
Type of Change
Testing
How have you tested the change?
npm run test:unitandnpm run test:integnpm run typechecknpm run lintsrc/assets/, I rannpm run test:update-snapshotsand committed the updated snapshotsChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.