-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
meta: request reviews from github actions #53149
Conversation
Review requested:
|
ab7be7e
to
4460e0c
Compare
The latest commit addresses nodejs/security-wg#1329. |
a077138
to
8addb50
Compare
@RafaelGSS This PR isn't solely for the TSC to be pinged when a dependency is changed. This moves the process of requesting reviews into the core repo, as mentioned in the past. When the security group mentioned also reviewing from the TSC, I figured I'd add it here as well. |
But, what's the motivation behind it? AFAIK This works pretty well at the moment. Don't you think it would cause just more maintenance burden? |
I believe it's less cumbersome for collaborators if the code is stored in the main repository and uses a supported Node.js version. As @targos pointed out:
|
Requesting review from @targos, as it was his initial issue that brought the idea of migrating to GH actions. |
I still believe this is unnecessary and an overkill in terms of nodejs/security-wg#1329 |
I opened this before that discussion, and I figured that while I added this, I could also incorporate what was discussion |
I also think it is overkill. |
This change is not a response to the security discussion. This is migration of requesting reviews away from the GitHub bot and into GitHub actions. When I saw the security discussion, I figured I could incorporate it here, but you were correct that it needs its own workflow. |
+1 on the sentiment of @RafaelGSS - with regards to processes and automation of the project - let's not fix things that are not broken? |
IMO the current setup is (in a way) broken. It's using outdated software and it's hard to maintain, this change would fix part of that, as mentioned in the linked issue.
|
The bot is unmaintained and cannot be easily upgraded. IMO this qualifies as broken |
with that in mind, how do we feel about this PR as a solution for part of the GitHub bot's brokenness? @RafaelGSS are you still blocking? |
↻ (reping) @RafaelGSS (blocking) |
Is there a specific reason why your -1? |
Pretty much #53149 (comment). I see your point of view, but I believe all of this can be easily managed through a single github action instead of js file. Also, I'm sharing my point of view related to the security-wg request (request TSC review when deps is changed). |
fwiw I've removed the security part of this, and it's back to what it was originally: a migration to GH actions, which isn't something that IMO can be achieved via a workflow without JS. |
I don't think the bot is unmaintained, exactly, but the server it has been running on has been out of date for a long, long, long time... ...until today! We'll let it bake for a few days, or maybe even weeks, but @richardlau updated it and it now runs on Node.js 20.x and I think we're in a better place. |
(Side note: Yay!) Even so, in my opinion, using Github Actions to achieve the same result is a more efficient method for several reasons:
WDYT? |
@Trott you mentioned that the bot has been / will be updated, so I’d love your feedback on how you feel about this change. Thank you! |
I don't have an opinion on whether this should be a bot thing or a GitHub Actions thing. I have lots of opinions on the process itself, but they might be unpopular ones that other maintainers don't share. I'd be interested in their reactions.
|
Got it! I've adjusted the comment
While I like the idea of this, every team on the CODEOWNERS file would need to be given triage access or higher to this repository. (I'm aware the collaborator team gives all members that access, but it would need to be done on the team level)
Maybe the TSC could meet to decide these kind of larger decisions? All in all, I think that the future of review requests should be discussed, and if it's to be continued via a comment, handling that via GitHub actions is a good idea. |
I've opened an issue in nodejs/admin#895 which will address your comments. The only reason reviews can't be used is because the all-members team doesn't have triage access to this repo (at that level). By changing that, the review request feature can be used. |
Blocking until that issue is resolved. |
Unblocked, as that issue is resolved. |
If it aint broke don't fix it. While I believe moving the infra away from the github bot is the way to go, it doesn't seem like this is going to land anytime soon. |
Part of #51236
This PR moves the process of commenting on a PR to the main repo's Github Actions, instead of it being handled by the github bot.
This is open to discussion, and I'm not a member of the @nodejs/github-bot team, so I'd love them to take a look and see if this looks good :-)
If landed, the new 'initial comment' that will be posted on PRs is: