chore: add pull request labeler
This commit is contained in:
parent
0c59f08627
commit
0f8f9ccb04
2 changed files with 40 additions and 0 deletions
25
.github/labeler.yml
vendored
Normal file
25
.github/labeler.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
enhancement:
|
||||
- feat-*
|
||||
- feat/*
|
||||
- feature-*
|
||||
- feature/*
|
||||
|
||||
bug:
|
||||
- fix-*
|
||||
- fix/*
|
||||
- bugfix-*
|
||||
- bugfix/*
|
||||
- bug-*
|
||||
- bug/*
|
||||
|
||||
chore:
|
||||
- chore-*
|
||||
- chore/*
|
||||
|
||||
# Labels are also automatically added by renovate
|
||||
dependencies:
|
||||
- renovate/*
|
||||
|
||||
content:
|
||||
- content-*
|
||||
- content/*
|
||||
15
.github/workflows/labeler.yml
vendored
Normal file
15
.github/workflows/labeler.yml
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
name: "Pull Request Labeler"
|
||||
|
||||
on:
|
||||
- pull_request_target
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
Reference in a new issue