-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Fix RocketChat webhook #9908
Fix RocketChat webhook #9908
Conversation
Signed-off-by: jolheiser <[email protected]>
Signed-off-by: jolheiser <[email protected]>
If this bug was caused by #9378, perhaps we should consider backporting this fix into 1.10.4, as that PR was backported to 1.10.2. |
Signed-off-by: jolheiser <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #9908 +/- ##
==========================================
+ Coverage 42.3% 42.31% +<.01%
==========================================
Files 607 607
Lines 79352 79352
==========================================
+ Hits 33571 33574 +3
+ Misses 41639 41636 -3
Partials 4142 4142
Continue to review full report at Codecov.
|
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.
One query, but otherwise lgtm.
@jolheiser Please, can you send backport if possible ? |
* Fix RocketChat?? Signed-off-by: jolheiser <[email protected]> * Don't send attachment for repo create/delete Signed-off-by: jolheiser <[email protected]> * Make fmt Signed-off-by: jolheiser <[email protected]> Co-authored-by: Lauris BH <[email protected]>
This works like a charm on latest docker build! Thank you! |
* Fix RocketChat?? Signed-off-by: jolheiser <[email protected]> * Don't send attachment for repo create/delete Signed-off-by: jolheiser <[email protected]> * Make fmt Signed-off-by: jolheiser <[email protected]> Co-authored-by: Lauris BH <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Resolves #9899
I'm fairly certain this should fix rocket chat webhooks for push actions.I do not have a rocket chat instance to confirm on, however, so this PR should probably not be accepted until someone can confirm.Turns out rocket chat has a free cloud trial, so I can confirm it works.
I also just removed attachments altogether for repo create/delete event, as it was always blank. 🤷♂️
(Repo event) With blank attachment
(Repo event) Without
(Push event) Rocket Chat
(Repo events and push event) Slack