mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
chore: add auto-labeler
This commit is contained in:
26
.github/labeler.yml
vendored
Normal file
26
.github/labeler.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
chore:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
'packages:builders':
|
||||||
|
- packages/builders/*
|
||||||
|
- packages/builders/**/*
|
||||||
|
|
||||||
|
'packages:collection':
|
||||||
|
- packages/collection/*
|
||||||
|
- packages/collection/**/*
|
||||||
|
|
||||||
|
'packages:discord.js':
|
||||||
|
- packages/discord.js/*
|
||||||
|
- packages/discord.js/**/*
|
||||||
|
|
||||||
|
'packages:rest':
|
||||||
|
- packages/rest/*
|
||||||
|
- packages/rest/**/*
|
||||||
|
|
||||||
|
'packages:voice':
|
||||||
|
- packages/voice/*
|
||||||
|
- packages/voice/**/*
|
||||||
|
|
||||||
|
'packages:ws':
|
||||||
|
- packages/ws/*
|
||||||
|
- packages/ws/**/*
|
||||||
12
.github/workflows/auto-labeler.yml
vendored
Normal file
12
.github/workflows/auto-labeler.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
name: "PR Labeler"
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
jobs:
|
||||||
|
triage:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Automatically label PR
|
||||||
|
uses: actions/labeler@v3
|
||||||
|
with:
|
||||||
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
sync-labels: true
|
||||||
Reference in New Issue
Block a user