Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add a github action to send slack notification if number of reactions exceeds threshold in PRs and issues #222

Closed
wants to merge 46 commits into from

Conversation

pragya-20
Copy link

Description

  • This is a GitHub action that will count the number of reactions to an issue or a PR. If the total count exceeds the threshold reactions, it will send a slack notification notifying the user.
  • The threshold reaction is defined in the environment variable as THRESHOLD_REACTIONS
  • To receive the slack notification, one may create a slack app and provide the token as a secret named SLACK_BOT_TOKEN
  • This action will run daily at 8:00 am (GST) as people start their day around the similar time
  • It will also be triggered once anyone comments on an issue or PR

Related issue(s)
Resolves #41

@pragya-20 pragya-20 changed the title ci: Add a github action to send slack notification if number of reactions exceeds threshold in PRs and issues ci: add a github action to send slack notification if number of reactions exceeds threshold in PRs and issues Mar 30, 2023
@derberg
Copy link
Member

derberg commented Mar 30, 2023

Thanks but I need to close this PR. There is already a draft PR @14Richa is working on #220 and I've already provided lots of feedback there

@derberg derberg closed this Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Think about an action that periodicaly checks emotions on issues
2 participants