-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add support "approved" for PR_READY_STATE #232
Comments
Hey @sebastianludwig - unfortunately, this isn't as simple as #233. What constitutes "approved" is going to be different from repo-to-repo and there's nothing in the Github pull request API that exposes this information. This would require loading each review on the PR, checking its status and comparing the number of approvals against some (new) autoupdate configuration value. This would significantly increase the complexity of this action and it isn't something I'm that keen on adding at the moment. I'm planning a larger architectural refactor of how conditions/filters work and this may need to wait till then. In the meantime, I'd recommend a workaround using labels:
|
This workaround doesn't work consistently.
|
You can have the PR in draft state and exclude it from autoupdate via |
@chinthakagodawita now Github exposes that information. |
While working in a high throughput repository we want to keep our CI load down and only auto-update the PRs once everybody is happy with them. There's no need to have GitHub update the PRs and the CI build them while a developer is still working on them and addressing the feedback. We'd like to use the auto-update to help working through our "waiting to be merged" queue.
Is it possible to add an "approved" condition to
PR_READY_STATE
which evaluates to true once all required reviewers have approved a PR?The text was updated successfully, but these errors were encountered: