-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
nodejs-github-bot example PR #6247
Conversation
@nodejs/ctc I temporarily enabled the bot here to show this. It is currently disabled. It requires write permissions (which have been given to other bots in the past), as well as webhook notifications of PR events. At the current time it only matches a very small subset of labels, to start. Only two, infact.
|
also cc @phillipj & @williamkapke who have been working on this too. |
@Fishrock123 does five 🎉s on your PR description warrant enabling the bot permanently? At least for a longer periode than a few minutes.. |
Other low hanging fruit might be:
|
Worth experimenting with. |
I think if we go ahead with it, we definitely should start with the simplest cases where it's really easy to know the correct tag(s). My concern would be having to go back and remove incorrect/misleading tags. |
Decreasing visibility makes assumptions on how people use github. I don't use tags much myself -- the best way to connect is in my opinion assigning an issue/pr, and next being mentioned. In time (when github supports assigning teams), it'd be pretty sweet to try and assign a team based on whats being changed. |
Worth noting the bot will only try to find correct labels when the PR is created. Subsequent changes are currently ignored, this might change in the future.
ATM we've got these two scenarios:
@mscdex would you consider these safe bets? |
@phillipj I think the For example, there might be a PR that makes changes to both |
Moar low hanging fruit:
|
Usually I just tag anything that has remotely significant c++ in it with |
Ok based on feedback I've enabled it. I'll leave this open for now unless someone thinks I should re-make it as an issue rather than a PR. |
@mscdex currently it only looks at file paths affected. How many lines changed is not taken into consideration. Your idea seems like a good fix if we see bad labelling due to its current trivial brains. Summarised possible improvements based on the feedback so far nodejs/github-bot#31. Feel free to add more thoughts and tips to that issue. |
7da4fd4
to
c7066fb
Compare
FYI just merged and deployed more labels: doc, benchmark and deps/X which was mentioned as low hanging fruits in previous comments ^ |
nodejs-github-bot example PR
As of nodejs/github-bot@79f828c, the nodejs-github-bot is capable of labeling pull requests based on the files within.Some additional examples can be found at https://github.com/TestOrgPleaseIgnore/node/pulls