1
0
Fork 0

chore: add pull request labeler

This commit is contained in:
Vojtěch Mareš 2023-01-11 11:59:05 +01:00
parent 0c59f08627
commit 0f8f9ccb04
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
2 changed files with 40 additions and 0 deletions

25
.github/labeler.yml vendored Normal file
View 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
View 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 }}"