IvanFon / super-labeler-action

A superpowered issue and pull request labeler for Github Actions.
GNU General Public License v3.0
22 stars 12 forks source link

refactor: extract conditions evaluator #20

Closed jayu closed 3 years ago

jayu commented 4 years ago

I attempt to work on #13, but first I decided to make a bit of refactoring.

I extracted conditions checking logic to the evaluator function. It allowed simplifying checks whether to add or remove a label.

It will be also useful while working on #7.

TGTGamer commented 3 years ago

Implemented in #24

Tested and confirmed working