1cb02d0bbSChiichendefault-mode: 2cb02d0bbSChiichen add: 3cb02d0bbSChiichen remove: [pull_request_target, issues] 4cb02d0bbSChiichenlabels: 5cb02d0bbSChiichen# skips and removes 6cb02d0bbSChiichen- name: skip all 7cb02d0bbSChiichen content: 8cb02d0bbSChiichen regexes: '[Ss]kip (?:[Aa]ll |)[Ll]abels?' 9cb02d0bbSChiichen- name: remove all 10cb02d0bbSChiichen content: 11cb02d0bbSChiichen regexes: '[Rr]emove (?:[Aa]ll |)[Ll]abels?' 12cb02d0bbSChiichen- name: skip ambiguous 13cb02d0bbSChiichen content: 14cb02d0bbSChiichen regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)ambiguous(?:`|)' 15cb02d0bbSChiichen- name: remove ambiguous 16cb02d0bbSChiichen content: 17cb02d0bbSChiichen regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)ambiguous(?:`|)' 18cb02d0bbSChiichen# `feature` 19cb02d0bbSChiichen- name: enhance 20cb02d0bbSChiichen content: enhancement 21*ab53b2ebSChiichen regexes: '[Ff]eat(?:\([a-zA-Z]*/?[a-zA-Z]*\))?[\:\.\,]' 22cb02d0bbSChiichen skip-if: 23cb02d0bbSChiichen - skip all 24cb02d0bbSChiichen remove-if: 25cb02d0bbSChiichen - remove all 26cb02d0bbSChiichen# `Bug fix` 27cb02d0bbSChiichen- name: bug-fix 28cb02d0bbSChiichen content: Bug fix 29*ab53b2ebSChiichen regexes: '[Ff]ix(?:\([a-zA-Z]*/?[a-zA-Z]*\))?[\:\.\,]' 30cb02d0bbSChiichen skip-if: 31cb02d0bbSChiichen - skip all 32cb02d0bbSChiichen remove-if: 33cb02d0bbSChiichen - remove all 34cb02d0bbSChiichen# `document` 35cb02d0bbSChiichen- name: doc 36cb02d0bbSChiichen content: documentation 37*ab53b2ebSChiichen regexes: '[Dd]ocs(?:\([a-zA-Z]*/?[a-zA-Z]*\))?[\:\.\,]' 38cb02d0bbSChiichen skip-if: 39cb02d0bbSChiichen - skip all 40cb02d0bbSChiichen remove-if: 41cb02d0bbSChiichen - remove all 42cb02d0bbSChiichen# `test` 43cb02d0bbSChiichen- name: test 44cb02d0bbSChiichen content: test 45*ab53b2ebSChiichen regexes: '[Tt]est(?:\([a-zA-Z]*/?[a-zA-Z]*\))?[\:\.\,]' 46cb02d0bbSChiichen skip-if: 47cb02d0bbSChiichen - skip all 48cb02d0bbSChiichen remove-if: 49cb02d0bbSChiichen - remove all 50cb02d0bbSChiichen# `ambiguous` 51cb02d0bbSChiichen- name: pr-ambiguous 52cb02d0bbSChiichen # 不符合 commitizen 的 PR 53cb02d0bbSChiichen content: ambiguous 54cb02d0bbSChiichen regexes: '^(?!(?:build|chore|ci|docs?|feat|fix|perf|refactor|rft|style|test)(?:\([a-zA-Z]*\))?[\:\.\(\,]|[Rr]evert|[Rr]elease)' 55cb02d0bbSChiichen mode: 56cb02d0bbSChiichen pull_request_target: 57cb02d0bbSChiichen skip-if: 58cb02d0bbSChiichen - skip all 59cb02d0bbSChiichen - skip ambiguous 60cb02d0bbSChiichen remove-if: 61cb02d0bbSChiichen - remove all 62cb02d0bbSChiichen - remove ambiguous 63