mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 14:55:05 +00:00
45 lines
1.2 KiB
JavaScript
45 lines
1.2 KiB
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 -->',
|
|
ORG_FORK_MARKER: '<!-- maintainer-access-warning -->',
|
|
|
|
MANAGED_LABELS: [
|
|
'new-component',
|
|
'new-platform',
|
|
'new-target-platform',
|
|
'merging-to-release',
|
|
'merging-to-beta',
|
|
'chained-pr',
|
|
'core',
|
|
'small-pr',
|
|
'medium-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',
|
|
'undocumented-api-change',
|
|
'code-quality',
|
|
'deprecated-component'
|
|
],
|
|
|
|
DOCS_PR_PATTERNS: [
|
|
/https:\/\/github\.com\/esphome\/esphome\.io\/pull\/\d+/,
|
|
/esphome\/esphome\.io#\d+/,
|
|
// Keep matching the old esphome-docs name during the transition period
|
|
/https:\/\/github\.com\/esphome\/esphome-docs\/pull\/\d+/,
|
|
/esphome\/esphome-docs#\d+/
|
|
]
|
|
};
|