-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Github comments when user is warned/removed (in addition to the emails that are sent when this happens) #897
Conversation
another route we could go is just to disable the auto-kick functinoality. instead, we could make the bot just warn the user in perpetuity |
Codecov Report
@@ Coverage Diff @@
## master #897 +/- ##
==========================================
- Coverage 33.52% 18.83% -14.7%
==========================================
Files 99 98 -1
Lines 6073 6463 +390
Branches 731 815 +84
==========================================
- Hits 2036 1217 -819
- Misses 3946 5235 +1289
+ Partials 91 11 -80
Continue to review full report at Codecov.
|
from github.utils import get_interested_actions | ||
from marketing.mails import bounty_startwork_expire_warning, bounty_startwork_expired | ||
from marketing.mails import ( | ||
bounty_startwork_expire_warning, bounty_startwork_expired, maybe_notify_bounty_user_removed_to_slack, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This import will fail. maybe_notify_bounty_user_removed_to_slack
and maybe_notify_bounty_user_warned_removed_to_slack
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Description
Github comments from gitcoinbot when a user is removed from the issue.
example issue
This gives context to anyone looking back at the thread to try and figure out what is going on with the issue that the github bot has kicked them off of the issue.
In addition, this PR will enable notifications to slack so that we can deal with it internally
Checklist
Affected core subsystem(s)
bot
Testing
tested
Refers/Fixes
self