-
Notifications
You must be signed in to change notification settings - Fork 30
fix(hook/webhook)!: clean up rename repo code with EventAction and shift defer func #641
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #641 +/- ##
==========================================
- Coverage 55.36% 55.21% -0.16%
==========================================
Files 195 195
Lines 15827 15867 +40
==========================================
- Hits 8763 8761 -2
- Misses 6695 6737 +42
Partials 369 369
|
cognifloyd
left a comment
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
…into fix/hook-updates-no-repo
jbrockopp
left a comment
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
wass3r
left a comment
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.
should be in v0.14 - we'll have to update the migrations utility
|
added to migration utility PR: go-vela/community@04d422a |
Closes go-vela/community#586
With the defer function being declared before the
nilbuild check, any repository event was resulting in an error since there was norepo_idin the hook object. Also, cleaning up the repository renaming code by adding theevent_actionfield to hook.