Skip to content

Commit 86f6eee

Browse files
authored
👷 Add GitHub Action labeler (#1068)
1 parent af56dc1 commit 86f6eee

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/labeler.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
docs:
2+
- changed-files:
3+
- any-glob-to-any-file:
4+
- docs/**/*
5+
- docs_src/**/*
6+
7+
internal:
8+
- changed-files:
9+
- any-glob-to-any-file:
10+
- .github/**/*
11+
- scripts/**/*
12+
- .gitignore
13+
- .pre-commit-config.yaml
14+
- pdm_build.py
15+
- 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)