voxmedia / github-action-slack-notify-build

Report GitHub Actions build status on Slack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to remove fields from Slack message

Jeehut opened this issue · comments

Currently, when I use this action I can't customize which fields are shown in the Slack message (at least it's not documented) and we're always stuck with the fields "Action", "Pull Request", "Status" & "Event". But actually, the "Event" in my use case is always the same, also I don't need the "Action" as it's also always the same and the link isn't needed as the check is shown in the PR link already.

My goal is to make the Slack messages as slim as possible (currently it requires two rows) so it doesn't take too much space in the history. So it would be great if it was possible to somewhow choose which fields we want.