mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
ci: better labeler for issues and prs
This commit is contained in:
88
.github/labeler.yml
vendored
88
.github/labeler.yml
vendored
@@ -1,23 +1,75 @@
|
||||
'packages:builders':
|
||||
- packages/builders/*
|
||||
- packages/builders/**/*
|
||||
version: v1
|
||||
|
||||
'packages:collection':
|
||||
- packages/collection/*
|
||||
- packages/collection/**/*
|
||||
labels:
|
||||
- label: 'chore'
|
||||
sync: true
|
||||
matcher:
|
||||
files:
|
||||
any:
|
||||
- '*'
|
||||
all:
|
||||
- '!packages/*'
|
||||
- '!packages/**/*'
|
||||
|
||||
'packages:discord.js':
|
||||
- packages/discord.js/*
|
||||
- packages/discord.js/**/*
|
||||
- label: 'semver:major'
|
||||
sync: true
|
||||
matcher:
|
||||
title: '^.*(\(?.*\)?)!:'
|
||||
|
||||
'packages:rest':
|
||||
- packages/rest/*
|
||||
- packages/rest/**/*
|
||||
- label: 'semver:minor'
|
||||
sync: true
|
||||
matcher:
|
||||
title: '^feat(\(?.*\))?:'
|
||||
|
||||
'packages:voice':
|
||||
- packages/voice/*
|
||||
- packages/voice/**/*
|
||||
- label: 'semver:patch'
|
||||
sync: true
|
||||
matcher:
|
||||
title: '^fix(\(?.*\))?:'
|
||||
|
||||
'packages:ws':
|
||||
- packages/ws/*
|
||||
- packages/ws/**/*
|
||||
- label: 'packages:builders'
|
||||
sync: true
|
||||
matcher:
|
||||
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*builders'
|
||||
files:
|
||||
- 'packages/builders/*'
|
||||
- 'packages/builders/**/*'
|
||||
|
||||
- label: 'packages:collection'
|
||||
sync: true
|
||||
matcher:
|
||||
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*collection'
|
||||
files:
|
||||
- 'packages/collection/*'
|
||||
- 'packages/collection/**/*'
|
||||
|
||||
- label: 'packages:discord.js'
|
||||
sync: true
|
||||
matcher:
|
||||
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*discord\.js'
|
||||
files:
|
||||
- 'packages/discord.js/*'
|
||||
- 'packages/discord.js/**/*'
|
||||
|
||||
- label: 'packages:rest'
|
||||
sync: true
|
||||
matcher:
|
||||
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*rest'
|
||||
files:
|
||||
- 'packages/rest/*'
|
||||
- 'packages/rest/**/*'
|
||||
|
||||
- label: 'packages:voice'
|
||||
sync: true
|
||||
matcher:
|
||||
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*voice'
|
||||
files:
|
||||
- 'packages/voice/*'
|
||||
- 'packages/voice/**/*'
|
||||
|
||||
- label: 'packages:ws'
|
||||
sync: true
|
||||
matcher:
|
||||
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*ws'
|
||||
files:
|
||||
- 'packages/ws/*'
|
||||
- 'packages/ws/**/*'
|
||||
|
||||
Reference in New Issue
Block a user