Skip to content

Commit c9f7f32

Browse files
authored
chore: add labeler (#9)
1 parent ac01ec0 commit c9f7f32

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/labeler.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
cli:
2+
- 'packages/cli/**/*'
3+
4+
core:
5+
- 'packages/core/**/*'
6+
7+
documentation:
8+
- '**/*.md'
9+
- '**/*.mdx'
10+
11+
github-actions:
12+
- '.github/workflows/**/*'
13+
14+
dependencies:
15+
- 'package.json'
16+
- 'pnpm-lock.yaml'
17+
- '**/package.json'
18+
19+

.github/workflows/labeler.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Pull Request Labeler"
2+
3+
on:
4+
- pull_request_target
5+
6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
10+
jobs:
11+
triage:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/labeler@v5
15+
with:
16+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
17+
sync-labels: true

0 commit comments

Comments
 (0)