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 '=' as comparison operator #623

Closed
kasadaamos opened this issue Aug 14, 2023 · 1 comment · Fixed by #712
Closed

Allow '=' as comparison operator #623

kasadaamos opened this issue Aug 14, 2023 · 1 comment · Fixed by #712

Comments

@kasadaamos
Copy link

The modified_lines condition allows only < or >.
I'd like to ask for an exact = option too.

The use case is that I want to allow different requirements for changes made by our automation, which should modify exactly two lines in a specific file.

There is no way to specify that accurately enough with < and >.

Thanks.

@asvoboda
Copy link
Member

This sounds like a reasonable feature request. We'll happily review the change if you are interested in opening the PR.

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 a pull request may close this issue.

2 participants