beehive icon indicating copy to clipboard operation
beehive copied to clipboard

Filter negation

Open fukawi2 opened this issue 5 years ago • 0 comments

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?

fukawi2 avatar Nov 30 '20 06:11 fukawi2