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

Filter negation #360

Open
fukawi2 opened this issue Nov 30, 2020 · 0 comments
Open

Filter negation #360

fukawi2 opened this issue Nov 30, 2020 · 0 comments

Comments

@fukawi2
Copy link

fukawi2 commented Nov 30, 2020

Apologies if this is in the docs, but I couldn't find it.

Is it possible to negate filters? For example, one of my filters I want to ignore GitHub issues with a certain prefix in the title. I'm aware of ne to negate a whole string, but I want to negate a prefix filter in this instance:

"Filters": [
    "{{test not HasPrefix .title \"IDontCare:\"}}",
    "{{test ne .username \"fukawi2\"}}"
]

Beehive hasn't complained about the above syntax, but I'm not sure if it will actually work or not?

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