DEV Community

Shivam
Shivam

Posted on

Bug notification on Slack

Instructions

Following repository contains the GitAction which triggers the work flow(sending notification to the slack) whenever an issue with label bug 🐞 is raised. The issue of type bug are one that require high attention of project owner and required to be fixed as soon as possible.

My Workflow

Link to my submission.

Submission Category:

Maintainer Must-Haves, Wacky Wildcards

Yaml File or Link to Code

Introduction:

This repository contains the GitAction which triggers the work flow(sending notification to slack) whenever a issue with label bug is raised. The issue of type bug are one that require high attention of project owner and required to be fixed as soon as possible.

My Workflow

  • The workflow is triggered whenever event=issues with types=opened is happened.
  • If expression is used to check whether this issue contains label bug or not.
  • If the above check passes then it stores the various meta values like issue raiser name, repository url, issue url and issue title
  • After getting the neccessary data the message on slack channel is sent using slackapi/slack-github-action@v1.16.0 action.

Submission Category

Maintainer Must-Haves, Wacky Wildcards

YAML File

LINK

Additional Resources

Screen shot of alert send on slack

Screenshot

LICENCE

MIT

Additional Resources / Info

  1. Learn how to get Slack bot token
  2. How to use Git Actions

Screen of alert that will come on slack

alt text

Top comments (0)