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

Allow anyone to approve #117

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

philn-delphia
Copy link

Make the approvers field optional, and allow anyone to approve if it's empty.

I had to rework approvalFromComments to make this work, since it worked by removing names from the required approvers list until the list was small enough.

closes #108

Anyone can approve except the workflow initiator if they're not allowed.
fix length of issue approvers
@trstringer
Copy link
Owner

What kind of testing did you do for this PR? And also thanks for contributing!

@zchenyu
Copy link

zchenyu commented Jul 18, 2024

bump, this would be a nice feature :)

@philn-delphia
Copy link
Author

What kind of testing did you do for this PR? And also thanks for contributing!

I've been using this internally with no issues, but honestly we always have it set to allow all reviewers since it's private repos.

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

Successfully merging this pull request may close these issues.

Let anyone approve an issue
3 participants