labeler icon indicating copy to clipboard operation
labeler copied to clipboard

Implement case-insensitive matching for head branch name

Open datpmt opened this issue 1 year ago • 0 comments

Description:

I want to automatically add the refactor label to a pull request when the head branch name contains the word refactor in any case (e.g., refactor, Refactor, REFACTOR, etc.). This should be a case-insensitive match to ensure flexibility and consistency in labeling.

TEST:

# .github/labeler.yml

refactor:
  - head-branch: 'refactor'

image

Related issue: Add link to the related issue.

Check list:

  • [ ] Mark if documentation changes are required.
  • [x] Mark if tests were added or updated to cover the changes.

datpmt avatar Jan 10 '25 04:01 datpmt