default-mode:
add:
remove: [pull_request_target, issues]
labels:
- name: skip all
content:
regexes: '[Ss]kip (?:[Aa]ll |)[Ll]abels?'
- name: remove all
content:
regexes: '[Rr]emove (?:[Aa]ll |)[Ll]abels?'
- name: skip ambiguous
content:
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)ambiguous(?:`|)'
- name: remove ambiguous
content:
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)ambiguous(?:`|)'
- name: enhance
content: enhancement
regexes: '[Ff]eat(?:\([^)]*\))?[\:\.\,]'
skip-if:
- skip all
remove-if:
- remove all
- name: bug-fix
content: Bug fix
regexes: '[Ff]ix(?:\([^)]*\))?[\:\.\,]'
skip-if:
- skip all
remove-if:
- remove all
- name: doc
content: documentation
regexes: '[Dd]ocs(?:\([^)]*\))?[\:\.\,]'
skip-if:
- skip all
remove-if:
- remove all
- name: test
content: test
regexes: '[Tt]est(?:\([^)]*\))?[\:\.\,]'
skip-if:
- skip all
remove-if:
- remove all
- name: build
content: build
regexes: '[Bb]uild(?:\([^)]*\))?[\:\.\,]'
skip-if:
- skip all
remove-if:
- remove all
- name: ci
content: ci
regexes: '[Cc]i(?:\([^)]*\))?[\:\.\,]'
skip-if:
- skip all
remove-if:
- remove all
- name: style
content: style
regexes: '[Ss]tyle(?:\([^)]*\))?[\:\.\,]'
skip-if:
- skip all
remove-if:
- remove all
- name: refactor
content: refactor
regexes: '[rR]factor(?:\([^)]*\))?[\:\.\,]'
skip-if:
- skip all
remove-if:
- remove all
- name: perf
content: perf
regexes: '[pP]erf(?:\([^)]*\))?[\:\.\,]'
skip-if:
- skip all
remove-if:
- remove all
- name: pr-ambiguous
content: ambiguous
regexes: '^(?!(?:build|chore|ci|docs?|feat|fix|perf|refactor|rft|style|test)(?:\([a-zA-Z]*\))?[\:\.\(\,]|[Rr]evert|[Rr]elease)'
mode:
pull_request_target:
skip-if:
- skip all
- skip ambiguous
remove-if:
- remove all
- remove ambiguous