Add labeler

This commit is contained in:
HAHWUL 2024-02-05 23:43:56 +09:00
parent a1721a537a
commit 1068e510d4
2 changed files with 31 additions and 0 deletions

19
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,19 @@
⚔️ Weapons:
- changed-files:
- any-glob-to-any-file:
- weapons/**
⚙️ Development:
- changed-files:
- any-glob-to-any-file:
- scripts/**
- .github/labeler.yml
🎨 Image:
- changed-files:
- any-glob-to-any-file:
- images/**
🦺 github-action:
- changed-files:
- any-glob-to-any-file: .github/workflows/**

12
.github/workflows/labeler.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5