-
Notifications
You must be signed in to change notification settings - Fork 28
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
enhance(webhook): handle repository transfer events #883
Conversation
Codecov Report
@@ Coverage Diff @@
## main #883 +/- ##
==========================================
+ Coverage 71.45% 71.47% +0.02%
==========================================
Files 304 304
Lines 12436 12436
==========================================
+ Hits 8886 8889 +3
+ Misses 3118 3116 -2
+ Partials 432 431 -1
|
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
"owner": { | ||
"from": { | ||
"user": { | ||
"login": "Old-Codertocat", |
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.
are these supposed to be octocat?
This will have to wait on the server-side changes of worker visibility: #772 for the tests to pass |
Closes go-vela/community#683
Also fixed a bug where the secrets weren't actually getting transferred because we were searching for secrets belonging to the new repo name, rather than the old.
Also added a util function to split the full name of a repo to its org and repo respectively since that was used twice.