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 has_successful_status to consume a wildcard #403

Open
ChipWolf opened this issue Mar 28, 2022 · 1 comment
Open

Allow has_successful_status to consume a wildcard #403

ChipWolf opened this issue Mar 28, 2022 · 1 comment

Comments

@ChipWolf
Copy link

I'd like a policy that requires all status checks to be passed without defining them individually.

@bluekeyes
Copy link
Member

Unfortunately, I'm not sure this is possible to implement in a reliable way. When policy-bot looks at a PR, there's no way that I know of to determine if the current set of statuses is complete or if something will post another status in the future. As a human looking at a PR, you have an expectation of what statuses should exist, but I don't know how to give policy-bot this information without putting the list of statuses in to the policy.

Could you share some more details about the policy you want to implement? Maybe there's a way to achieve something similar without wildcard matching for statuses.

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