-
Notifications
You must be signed in to change notification settings - Fork 115
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
remove the PRT labels for new commits #14093
Conversation
40f89a5
to
c9db2e1
Compare
c9db2e1
to
c4d8b89
Compare
Dont worry about the failing check here as It will be going to get added. It will work only after getting merge because the github token for |
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.
ACK pending comments and suggestions!
0c20d18
to
5353ee1
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.
ACK pending another suggestion. Sorry for double review :)
2d55366
to
19cdb60
Compare
aefd0f5
to
47373cd
Compare
47373cd
to
79903f5
Compare
(cherry picked from commit a98258c)
(cherry picked from commit a98258c)
(cherry picked from commit a98258c)
(cherry picked from commit a98258c)
remove the PRT labels for new commits (#14093) (cherry picked from commit a98258c) Co-authored-by: Omkar Khatavkar <[email protected]>
remove the PRT labels for new commits (#14093) (cherry picked from commit a98258c) Co-authored-by: Omkar Khatavkar <[email protected]>
remove the PRT labels for new commits (#14093) (cherry picked from commit a98258c) Co-authored-by: Omkar Khatavkar <[email protected]>
remove the PRT labels for new commits (#14093) (cherry picked from commit a98258c) Co-authored-by: Omkar Khatavkar <[email protected]>
Problem Statement
Currently, the labels
PRT-Passed
andPRT-Failed
are added based on the results of the Pull Request Testing (PRT). However, when contributors update the pull request with new commits, these labels might remain, leading to potential confusion. There is a need to automatically remove these labels when new commits are added to the pull request.Solution
To address this issue, we propose implementing a solution using GitHub Actions (GHA). The solution involves periodically checking the GitHub status API to monitor for new commits on the pull request. Upon detecting a new commit, the workflow will automatically remove the
PRT-Passed
andPRT-Failed
labels from the pull request. This ensures that the labels accurately reflect the current status of the pull request, reducing confusion and maintaining clarity for reviewers and contributors.Test Result
https://github.com/omkarkhatavkar/robottelo/actions/runs/7916581527/job/21610780591?pr=216