-
Notifications
You must be signed in to change notification settings - Fork 415
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(webhooks): prevent unnecessary organisation webhook tasks #3365
fix(webhooks): prevent unnecessary organisation webhook tasks #3365
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Uffizzi Preview |
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.
Overall looks good, but we really should add that one test.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3365 +/- ##
==========================================
- Coverage 95.93% 95.93% -0.01%
==========================================
Files 1071 1072 +1
Lines 32767 32807 +40
==========================================
+ Hits 31434 31472 +38
- Misses 1333 1335 +2 ☔ View full report in Codecov by Sentry. |
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.
Looks great!
Thanks for submitting a PR! Please check the boxes below:
pre-commit
to check lintingdocs/
if required so people know about the feature!Changes
Prevents tasks being created to call organisation webhooks unnecessarily. Previously this check was done inside the task (and still is for belt and braces) but it seems unnecessary to create the task if we know it won't execute.
How did you test this code?
Added unit tests.