-
Notifications
You must be signed in to change notification settings - Fork 139
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
botreview - automate simple reviews #3100
Comments
/area automation |
/kind tracker |
From the first round of testing I got these results:
|
Need to improve kubevirtci bump selection: kubevirt/kubevirt#10747 (comment) |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. /close |
@kubevirt-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/reopen We still want to do this. |
@dhiller: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/remove-lifecycle rotten |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten |
botreview
aims to automate reviews that follow simple patterns.Motivation of this is to check automatically created PRs like image bumps, prow bumps, kubevirtci bumps etc., i.e. all PRs that follow simple patterns, are tedious to review but still required to check.
If anything beyond those patterns appears, it will backoff and add a comment with suspicious changes it found.
Note:
botreview
only acts as a first gate to filter out those PRs that really require a humans review!Roadmap
--dry-run
tofalse
and see how it goes, monitor the logs--dry-run=false
in project-infra deploymentsee how it goes, monitor the logs
kubevirt-review-bot
GitHub service accountHow to run
It can be run in two ways:
as a command
Example run:
If
--dry-run=false
is set, it will attach a comment to the review that states the review result.Result: #2485 (comment)
Note: using
--dry-run=true
or omitting the flag will run the tool in dry-run which will just print out the result)as an external plugin for prow
It will react on pull request events for the repos it's configured for in the plugins config and will review simple PRs automatically.
Note that the deployment currently has ``--dry-run=true` enabled, since we want to test it's stability gradually.
Review strategies
Review strategies implemented today:
Note: It can also handle mixed PRs, where each change abides by the rules of the strategy.
Footnotes
required since kubevirt-bot can't
lgtm
their own PRs ↩The text was updated successfully, but these errors were encountered: