-
Notifications
You must be signed in to change notification settings - Fork 117
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
labels: add version labels #55
Conversation
I wasn't sure exactly how to test the webhook, but going by the github webhook docs that should be the correct property for obtaining the base branch from the webhook event data. |
Np, no one else has gotten around creating automated tests for webhooks so far - hopefully some day :) The easiest way to test webhooks locally ATM would be via SSE relay functionality. @williamkapke could you add the necessary relay webhook to https://github.com/TestOrgPleaseIgnore/node? |
Perhaps just mock the api response from the version we're talking to? |
Yeah, I've got a branch ready to push soon which mocks every call made to GH |
Awesome! |
: matchAllSubSystem(filepathsChanged, limitLib) | ||
|
||
// Add version labels if PR is made against a version branch | ||
const m = /^(v\d+\.(?:\d+|x))(?:-|$)/.exec(baseBranch) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This is now live in production |
Comment was ignored? :/ |
@Fishrock123 sry, didn't see your comment! I'll get a PR up right away... Was this a coincident you having a look at this old & stalled PR, and me working to get it merged?? |
Minor adjustment to the regex matching the base branch a PR is targeted against. Refs nodejs#55 (comment)
Hooray, it works!: nodejs/node#8437 |
Yiiiiiha, nice work! @mscdex you got any objections to this On Thursday, 8 September 2016, Brian White [email protected] wrote:
|
Minor adjustment to the regex matching the base branch a PR is targeted against. Refs #55 (comment)
No description provided.