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

Automerging the PR vs enabling the automerge flag #393

Closed
ns-ggeorgiev opened this issue Oct 3, 2022 · 1 comment
Closed

Automerging the PR vs enabling the automerge flag #393

ns-ggeorgiev opened this issue Oct 3, 2022 · 1 comment

Comments

@ns-ggeorgiev
Copy link

Hi,

I am interested in github action that will help me to merge the PR not simply try to enable the automerge flag.

The subtle difference is going to be, that for branches that are not protected it should simply merge the pr instead of reporting error.

Same thing for the case where the PR is already checked, instead of failing to enable the auto merge flag, it should just merge it.

Are you interested in enhancing this tool in that direction?

@peter-evans
Copy link
Owner

Hi @ns-ggeorgiev

I would like to keep the scope and functionality of this action focused on just enabling GitHub's automerge feature. What might work well is to use this action inside a composite action. You can then write some logic steps to decide whether to run this action, or do something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants