-
Notifications
You must be signed in to change notification settings - Fork 237
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
Support fetching labels from pull requests in github,gitlab & gitea #67
Conversation
this looks good. my only request would be to ensure that one of the sample pull request webhooks for GitHub has labels so that the conversion is covered by unit tests. |
on second thought ... I wonder if we should return an array of
|
@bradrydzewski i have added
i did not add color field for this reason : gitlab does not provide it in merge api response. it is however "fetchable" by making another API call. also, since this change would be now backwards compatible we can always add a color field (or any other fields) in the future as needed. Also updated the unit tests to validate the conversions. lmk what you think. |
I plan on adding methods to create / find / list / delete labels so it would be safe to add the
The most important part is making sure the structure is correct and flexible enough to support all providers. It is ok that the fields may be blank for a subset of providers, as long as we aren't adding fields that are specific to a single provider. |
@bradrydzewski sounds good, updated the pr! |
thanks! |
feat: Record the create pull request in the fake driver.
No description provided.