Skip to content

This project created to check who didn't create a pull request in a certain repo to send a warning in a private message in slack using Mafia BOY bot in slack.

Notifications You must be signed in to change notification settings

GhassenEljday/Github-Sprints-Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github-Sprints-Checker

I've built this project just cus I'm lazy and I don't wanna keep checking students one by one, so I made a function that will contact the Github API looking for a result which is an Object that contains all the students who made a pull request then all I do is just checking with the data that I have saved before about the student (it's contains there information like slack_Id, GitHub username, and his real name), after checking this function will take all the students who didin't made a pull request and send them a privet message in Slack using a bot that you can just add it to your workspace and give it the following permissions:

chat:write chat:write.customize chat:write.public users:write

If you don't know how to create a Slack Bot you can check this link: Create a bot for your workspace

How to use?

  • First step:
Fill the configs files and the data files.

You can check the example files.

  • Second Step:
npm install
  • Third Step:
npm start 

Have Fun 😊

About

This project created to check who didn't create a pull request in a certain repo to send a warning in a private message in slack using Mafia BOY bot in slack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published