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

isOpen condition type #15

Closed jbinda closed 4 years ago

jbinda commented 4 years ago

Describe the bug I have noticed that the label is not applied when you expect 2 conditions in which one of them is isOpen type. Check config in config section below. It appear in pr labeling as well.

I'm pretty sure it is connected with case sensitive match in isOpen.ts file.

Check PR #16 which should fix that.

Expected behavior A clear and concise description of what you expected to happen.

Config

  "issue": {
    "bug": {
      "requires": 2,
      "conditions": [
        {
          "type": "titleMatches",
          "pattern": "/^bug/i"
        },
        {
          "type": "isOpen",
          "value": true
        }
      ]
    }
}
IvanFon commented 4 years ago

Fixed in #16