mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 08:41:59 +00:00
39 lines
914 B
JavaScript
39 lines
914 B
JavaScript
// Constants and markers for PR auto-labeling
|
|
module.exports = {
|
|
BOT_COMMENT_MARKER: '<!-- auto-label-pr-bot -->',
|
|
CODEOWNERS_MARKER: '<!-- codeowners-request -->',
|
|
TOO_BIG_MARKER: '<!-- too-big-request -->',
|
|
DEPRECATED_COMPONENT_MARKER: '<!-- deprecated-component-request -->',
|
|
|
|
MANAGED_LABELS: [
|
|
'new-component',
|
|
'new-platform',
|
|
'new-target-platform',
|
|
'merging-to-release',
|
|
'merging-to-beta',
|
|
'chained-pr',
|
|
'core',
|
|
'small-pr',
|
|
'dashboard',
|
|
'github-actions',
|
|
'by-code-owner',
|
|
'has-tests',
|
|
'needs-tests',
|
|
'needs-docs',
|
|
'needs-codeowners',
|
|
'too-big',
|
|
'labeller-recheck',
|
|
'bugfix',
|
|
'new-feature',
|
|
'breaking-change',
|
|
'developer-breaking-change',
|
|
'code-quality',
|
|
'deprecated-component'
|
|
],
|
|
|
|
DOCS_PR_PATTERNS: [
|
|
/https:\/\/github\.com\/esphome\/esphome-docs\/pull\/\d+/,
|
|
/esphome\/esphome-docs#\d+/
|
|
]
|
|
};
|