-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: post comment when pr labeled fast-track #38446
Conversation
@nodejs/build ... my github actions skill is still fairly weak so I'd appreciate if someone could help verify this. |
Unfortunately you cannot test changes to a workflow that uses the pull_request_target event without landing them on a branch and opening a PR against that branch |
Maybe this should be merged with |
b893fb0
to
eb2b228
Compare
Signed-off-by: James M Snell <[email protected]>
eb2b228
to
eedb34c
Compare
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. The file could be renamed to "comment-labeled.yml" or "labeled.yml"
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.
Personally I would prefer the files to remain separate, merging them doesn't bring any value because there's no reuse between the two flows, and the only thing they share is the labeled
event for PRs. Plus merging the files increase the complexity because now we need an extra condition in the if statement to skip the fast track job on issues.
I don't feel strong enough about it to ask to go back to separate files though.
@mmarchini ... I don't know if I was doing something wrong or what, but I actually had a difficult time getting the |
Landed in d85929c |
Signed-off-by: James M Snell <[email protected]> PR-URL: #38446 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Mary Marchini <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Signed-off-by: James M Snell <[email protected]> PR-URL: #38446 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Mary Marchini <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Signed-off-by: James M Snell <[email protected]> PR-URL: #38446 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Mary Marchini <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Signed-off-by: James M Snell <[email protected]> PR-URL: #38446 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Mary Marchini <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Signed-off-by: James M Snell <[email protected]> PR-URL: #38446 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Mary Marchini <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Signed-off-by: James M Snell <[email protected]> PR-URL: #38446 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Mary Marchini <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Automatically adds a comment when a pull requests is labeled "fast-track"
Signed-off-by: James M Snell [email protected]