Skip to content

Commit b4c34c6

Browse files
authored
👷 Add GitHub Action labeler (#1298)
1 parent ee82165 commit b4c34c6

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/labeler.yml

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

.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)