Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shivamarora1/gitactions-slack-notification-bug-issue-raised
Submission for GitAction Hackathon 2021
https://github.com/shivamarora1/gitactions-slack-notification-bug-issue-raised
github-actions slack
Last synced: 26 days ago
JSON representation
Submission for GitAction Hackathon 2021
- Host: GitHub
- URL: https://github.com/shivamarora1/gitactions-slack-notification-bug-issue-raised
- Owner: shivamarora1
- License: mit
- Created: 2021-12-05T13:51:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-08T11:03:15.000Z (about 3 years ago)
- Last Synced: 2024-11-18T13:29:00.433Z (3 months ago)
- Topics: github-actions, slack
- Homepage:
- Size: 211 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Project for [GitAction Hackathon 2021](https://dev.to/devteam/join-us-for-the-2021-github-actions-hackathon-on-dev-4hn4).
### 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/[email protected]` action.### Submission Category
`Maintainer Must-Haves`, `Wacky Wildcards`### YAML File
[LINK](https://github.com/shivamarora1/gitactions-slack-notification-bug-issue-raised/blob/main/.github/workflows/github-actions-demo.yml)### Additional Resources
- [Learn how to get Slack bot token](https://api.slack.com/bot-users)
- [How to use Git Actions](https://docs.github.com/en/actions)### Screen shot of alert send on slack
![Screenshot](res/screenshot.png)### LICENCE
MIT