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

Ability to opt-in to auto-update with a label #22

Open
TSMMark opened this issue Feb 6, 2023 · 0 comments
Open

Ability to opt-in to auto-update with a label #22

TSMMark opened this issue Feb 6, 2023 · 0 comments

Comments

@TSMMark
Copy link

TSMMark commented Feb 6, 2023

Thanks for this neat GH action!


I want to use it on PRs which are not auto_merge.

I'm thinking that this early return:

if (!pullRequest.auto_merge) {

could check if we've opted in via label, like:

!(pullRequest.auto_merge || pullRequest.labels.include?("auto-update:opt-in"))

Any concerns / Would you accept a PR for this?

Thanks

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

1 participant