From 001df6d53e863885cd712e16ec0c14e6e00a1058 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Fri, 22 Aug 2025 13:47:21 +0100 Subject: [PATCH] chore: label enhancement --- .../ISSUE_TEMPLATE/01-package_bug_report.yml | 2 +- .../02-application_bug_report.yml | 2 +- .github/ISSUE_TEMPLATE/03-feature_request.yml | 2 +- .github/labeler.yml | 58 ++-- .github/labels.yml | 251 ++++++++++-------- 5 files changed, 169 insertions(+), 146 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/01-package_bug_report.yml b/.github/ISSUE_TEMPLATE/01-package_bug_report.yml index 085586ef1..2b2c22876 100644 --- a/.github/ISSUE_TEMPLATE/01-package_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/01-package_bug_report.yml @@ -1,6 +1,6 @@ name: Bug report description: Report an issue with discord.js or another package. -labels: [bug, need repro] +labels: [t:bug, t:need reproduction] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/02-application_bug_report.yml b/.github/ISSUE_TEMPLATE/02-application_bug_report.yml index 9fefce98d..d176a6be6 100644 --- a/.github/ISSUE_TEMPLATE/02-application_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/02-application_bug_report.yml @@ -1,6 +1,6 @@ name: Websites bug report description: Report an issue with the documentation or guide websites. -labels: [bug, need repro] +labels: [t:bug, t:need reproduction] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/03-feature_request.yml b/.github/ISSUE_TEMPLATE/03-feature_request.yml index d6ffc4074..504333691 100644 --- a/.github/ISSUE_TEMPLATE/03-feature_request.yml +++ b/.github/ISSUE_TEMPLATE/03-feature_request.yml @@ -1,6 +1,6 @@ name: Feature request description: Request a new feature (discord.js accepts documented features of the official Discord developer API only!) -labels: [feature request] +labels: [t:feature request] body: - type: markdown attributes: diff --git a/.github/labeler.yml b/.github/labeler.yml index d4214ce85..1096b941f 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,104 +1,104 @@ -apps:guide: - - changed-files: - - any-glob-to-any-file: - - apps/guide/* - - apps/guide/**/* -apps:website: - - changed-files: - - any-glob-to-any-file: - - apps/website/* - - apps/website/**/* -packages:api-extractor: +a:api-extractor: - changed-files: - any-glob-to-any-file: - packages/api-extractor/* - packages/api-extractor/**/* -packages:api-extractor-model: +a:api-extractor-model: - changed-files: - any-glob-to-any-file: - packages/api-extractor-model/* - packages/api-extractor-model/**/* -packages:brokers: +a:brokers: - changed-files: - any-glob-to-any-file: - packages/brokers/* - packages/brokers/**/* -packages:builders: +a:builders: - changed-files: - any-glob-to-any-file: - packages/builders/* - packages/builders/**/* -packages:collection: +a:collection: - changed-files: - any-glob-to-any-file: - packages/collection/* - packages/collection/**/* -packages:core: +a:core: - changed-files: - any-glob-to-any-file: - packages/core/* - packages/core/**/* -packages:create-discord-bot: +a:create-discord-bot: - changed-files: - any-glob-to-any-file: - packages/create-discord-bot/* - packages/create-discord-bot/**/* -packages:discord.js: +a:discord.js: - changed-files: - any-glob-to-any-file: - packages/discord.js/* - packages/discord.js/**/* -packages:docgen: +a:docgen: - changed-files: - any-glob-to-any-file: - packages/docgen/* - packages/docgen/**/* -packages:formatters: +a:formatters: - changed-files: - any-glob-to-any-file: - packages/formatters/* - packages/formatters/**/* -packages:next: +a:guide: + - changed-files: + - any-glob-to-any-file: + - apps/guide/* + - apps/guide/**/* +a:next: - changed-files: - any-glob-to-any-file: - packages/next/* - packages/next/**/* -packages:proxy: +a:proxy: - changed-files: - any-glob-to-any-file: - packages/proxy/* - packages/proxy/**/* -packages:proxy-container: +a:proxy-container: - changed-files: - any-glob-to-any-file: - packages/proxy-container/* - packages/proxy-container/**/* -packages:rest: +a:rest: - changed-files: - any-glob-to-any-file: - packages/rest/* - packages/rest/**/* -packages:structures: +a:structures: - changed-files: - any-glob-to-any-file: - packages/structures/* - packages/structures/**/* -packages:ui: +a:ui: - changed-files: - any-glob-to-any-file: - packages/ui/* - packages/ui/**/* -packages:util: +a:util: - changed-files: - any-glob-to-any-file: - packages/util/* - packages/util/**/* -packages:voice: +a:voice: - changed-files: - any-glob-to-any-file: - packages/voice/* - packages/voice/**/* -packages:ws: +a:website: + - changed-files: + - any-glob-to-any-file: + - apps/website/* + - apps/website/**/* +a:ws: - changed-files: - any-glob-to-any-file: - packages/ws/* diff --git a/.github/labels.yml b/.github/labels.yml index 62ecd2f4e..68001e957 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -1,126 +1,149 @@ -- name: api changes - color: '5663e9' -- name: api support - color: '5663e9' -- name: apps:guide +- name: a:api-extractor + description: Affects @discordjs/api-extractor. color: fbca04 -- name: apps:website +- name: a:api-extractor-model + description: Affects @discordjs/api-extractor-model. color: fbca04 -- name: backlog - color: 7ef7ef -- name: backport - color: 88aabb -- name: backport-candidate - color: 0075ca -- name: blocked - color: fc1423 -- name: bug - color: d73a4a -- name: caching - color: 80c042 -- name: chore - color: ffffff -- name: ci - color: 0075ca -- name: dependencies - color: 276bd1 -- name: discord - color: '5663e9' -- name: discussion +- name: a:brokers + description: Affects @discordjs/brokers. + color: fbca04 +- name: a:builders + description: Affects @discordjs/builders. + color: fbca04 +- name: a:collection + description: Affects @discordjs/collection. + color: fbca04 +- name: a:core + description: Affects @discordjs/core. + color: fbca04 +- name: a:create-discord-bot + description: Affects create-discord-bot. + color: fbca04 +- name: a:discord.js + description: Affects discord.js. + color: fbca04 +- name: a:docgen + description: Affects @discordjs/docgen. + color: fbca04 +- name: a:formatters + description: Affects @discordjs/formatters. + color: fbca04 +- name: a:guide + description: Affects @discordjs/guide. + color: fbca04 +- name: a:next + description: Affects @discordjs/next. + color: fbca04 +- name: a:proxy + description: Affects @discordjs/proxy. + color: fbca04 +- name: a:proxy-container + description: Affects @discordjs/proxy-container. + color: fbca04 +- name: a:rest + description: Affects @discordjs/rest. + color: fbca04 +- name: a:structures + description: Affects @discordjs/structures. + color: fbca04 +- name: a:ui + description: Affects @discordjs/ui. + color: fbca04 +- name: a:util + description: Affects @discordjs/util. + color: fbca04 +- name: a:voice + description: Affects @discordjs/voice. + color: fbca04 +- name: a:website + description: Affects @discordjs/website. + color: fbca04 +- name: a:ws + description: Affects @discordjs/ws. + color: fbca04 +- name: f:application commands + description: Related to the application commands feature. color: b6b1f9 -- name: documentation +- name: f:applications + description: Related to the applications feature. + color: b6b1f9 +- name: f:channel + description: Related to the channel feature. + color: b6b1f9 +- name: f:guild + description: Related to the guild feature. + color: b6b1f9 +- name: f:interactions + description: Related to the interactions feature. + color: b6b1f9 +- name: f:invite + description: Related to the invite feature. + color: b6b1f9 +- name: f:monetization + description: Related to the monetization feature. + color: b6b1f9 +- name: f:poll + description: Related to the poll feature. + color: b6b1f9 +- name: f:role connections + description: Related to the role connections feature. + color: b6b1f9 +- name: f:stage instances + description: Related to the stage instances feature. + color: b6b1f9 +- name: f:stickers + description: Related to the stickers feature. + color: b6b1f9 +- name: f:threads + description: Related to the threads feature. + color: b6b1f9 +- name: f:user + description: Related to the user feature. + color: b6b1f9 +- name: f:voice + description: Related to the voice feature. + color: b6b1f9 +- name: f:webhook + description: Related to the webhook feature. + color: b6b1f9 +- name: s:major + description: This is a major change. + color: c10f47 +- name: s:minor + description: This is a minor change. + color: e4f486 +- name: s:patch + description: This is a patch change. + color: e8be8b +- name: t:backport + color: 88aabb +- name: t:backport-candidate color: 0075ca -- name: duplicate +- name: t:bug + description: Something is not working as expected. + color: '870808' +- name: t:duplicate color: cfd3d7 -- name: error handling - color: 80c042 -- name: feature request +- name: t:feature request color: fcf95a -- name: gateway - color: 80c042 +- name: t:invalid + description: This is not related to discord.js. + color: e4e669 +- name: t:need reproduction + color: c66037 +- name: t:won't fix + description: No work will be done towards this issue. + color: cfd3d7 +- name: blocked + description: Generic label to stop Kodiak from merging a pull request. + color: fc1423 +- name: discord + description: This is a Discord-related issue. + color: 5865f2 - name: good first issue color: 7057ff - name: help wanted color: '008672' -- name: in progress - color: ffccd7 - name: in review + description: This pull request is currently in review; halts Kodiak. color: aed5fc -- name: interactions - color: 80c042 -- name: invalid - color: e4e669 -- name: need repro - color: c66037 -- name: packages:api-extractor - color: fbca04 -- name: packages:api-extractor-model - color: fbca04 -- name: packages:brokers - color: fbca04 -- name: packages:builders - color: fbca04 -- name: packages:collection - color: fbca04 -- name: packages:core - color: fbca04 -- name: packages:create-discord-bot - color: fbca04 -- name: packages:discord.js - color: fbca04 -- name: packages:docgen - color: fbca04 -- name: packages:formatters - color: fbca04 -- name: packages:next - color: fbca04 -- name: packages:proxy - color: fbca04 -- name: packages:proxy-container - color: fbca04 -- name: packages:rest - color: fbca04 -- name: packages:structures - color: fbca04 -- name: packages:ui - color: fbca04 -- name: packages:util - color: fbca04 -- name: packages:voice - color: fbca04 -- name: packages:ws - color: fbca04 -- name: performance - color: 80c042 -- name: permissions - color: 80c042 -- name: priority:high - color: fc1423 -- name: question (please use Discord instead) - color: d876e3 -- name: ratelimits - color: 80c042 -- name: refactor - color: 1d637f -- name: regression - color: ea8785 -- name: REST - color: 80c042 -- name: semver:major - color: c10f47 -- name: semver:minor - color: e4f486 -- name: semver:patch - color: e8be8b -- name: sharding - color: 80c042 -- name: tests - color: f06dff -- name: threads - color: 80c042 -- name: typings - color: 80c042 -- name: utility - color: 80c042 -- name: wontfix - color: ffffff