Skip to content
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

RFE: Implement automatic approve #6

Open
markuslackner opened this issue May 23, 2022 · 0 comments
Open

RFE: Implement automatic approve #6

markuslackner opened this issue May 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@markuslackner
Copy link
Collaborator

Problem statement.
At the moment the service will do nothing after opening the pull request. It would be a great enhancement in usability if the service approves the pullrequest automatically. This is dependent on multiple prerequisites:

  • Which github/gitlab/... edition is used? e.g. you need Branch protection for github to guarantee the ci pipeline to be successful.
    Additionally the "Merge if successful" is only available with Branch protection. For outer git Providers this must also be checked.
  • The auto approve must be configurable by the user (e.g. no auto approve to production)

Possible solution.
2 new configuration options:

  • auto-approve: Approves the pull request
  • auto-merge: Sets automatic merge if all checks are successful

=> If the used git provider or the repository configuration does not support the needed features an error will be shown.

@markuslackner markuslackner added the enhancement New feature or request label May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant