Skip to content

Commit

Permalink
chore: add auto-labeler (#1333)
Browse files Browse the repository at this point in the history
  • Loading branch information
eglitise authored Feb 8, 2024
1 parent b6df691 commit 5ce38e6
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: v1

labels:
- label: 'enhancement'
sync: true
matcher:
title: '^feat.*?:'

- label: 'fix'
sync: true
matcher:
title: '^fix.*?:'

- label: 'documentation'
sync: true
matcher:
title: '^docs.*?:'

- label: 'chore'
sync: true
matcher:
title: '^chore.*?:'
files:
all: ['!package-lock.json']

- label: 'i18n'
sync: true
matcher:
files: ['assets/locales/**']
16 changes: 16 additions & 0 deletions .github/workflows/auto-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Labeler
on:
pull_request_target:
types: [opened, synchronize]
branches: [main]

permissions: read-all

jobs:
labeler:
permissions:
pull-requests: write
name: Auto-Label PRs
runs-on: ubuntu-latest
steps:
- uses: fuxingloh/multi-labeler@v2

0 comments on commit 5ce38e6

Please sign in to comment.