-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add number
in the list of properties supported for rules
#1091
Add number
in the list of properties supported for rules
#1091
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for your contribution!
number
in the list of properties supported for rulesnumber
in the list of properties supported for rules
}) | ||
|
||
|
||
it('Use Rules to get current open PR and merged categorised.', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mikepenz thanks for your support!
I have the feeling I am doing something wrong.... to check if the rules works correctly, i added a test. it seems that rules are combined with and
logic and due to that, no output is generated in this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ps: sorry that my linter messed up :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mikepenz to solve the issue, I introduced an additional configuration that allows to define whether rules are exclusive or not: category.exclusive_rules
. When this value is not set, to guarantee backward compatibility, it is set to the same value as category.exhaustive
.
I locally run tests, and all passes, including the one i defined.
Thank you very much for the contribution. Decided to rename |
Thank you for accepting my contribute! |
fixes #1079