Skip to content

Commit 2956d7d

Browse files
authored
👷 Add GitHub Action labeler (#67)
1 parent 349fc97 commit 2956d7d

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/labeler.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
docs:
2+
- changed-files:
3+
- any-glob-to-any-file:
4+
- README.md
5+
6+
internal:
7+
- changed-files:
8+
- any-glob-to-any-file:
9+
- .github/**/*
10+
- scripts/**/*
11+
- .gitignore
12+
- .pre-commit-config.yaml
13+
- pdm_build.py
14+
- requirements*.txt

.github/workflows/labeler.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Pull Request Labeler
2+
on:
3+
pull_request_target:
4+
5+
jobs:
6+
labeler:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/labeler@v5

0 commit comments

Comments
 (0)