integrations / slack

Bring your code to the conversations you care about with the GitHub and Slack integration
https://slack.github.com/
MIT License
2.98k stars 468 forks source link

Slack messages re: skipped actions workflow runs look too much like failed runs #1878

Open PSalant726 opened 2 months ago

PSalant726 commented 2 months ago

Describe the bug When the GH bot is configured to update a slack channel about runs of a specific actions workflow, messages created for skipped runs of the workflow look too much like messages create for failed runs of the workflow.

To Reproduce Steps to reproduce the behavior:

  1. Configure the bot to alert a channel about a workflow (https://github.com/integrations/slack#workflow-notification-filters)
  2. Trigger a run of the configured workflow
  3. Skip the workflow run
  4. Observe the message posted to the configured slack channel

Expected behavior A message should be posted to the configured slack channel, but that message should clearly show that the run was skipped. The message should be visually distinct from a failure message.

Screenshots

Screenshot 2024-04-18 at 12 30 10 PM

Desktop (please complete the following information):

Additional context I would suggest using gray to represent skipped runs, vs. red which is currently used. ❌ --> ☑️