mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 20:54:42 +12:00
chore: add auto-labeler
This commit is contained in:
parent
1060dcdd4e
commit
4a80710e7a
2 changed files with 38 additions and 0 deletions
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
|
Loading…
Reference in a new issue