Skip to content

Commit 7545177

Browse files
authored
Automatically label docs PR (#2972)
1 parent d685b6a commit 7545177

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/labeler.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://github.com/actions/labeler
2+
docs:
3+
- changed-files:
4+
- any-glob-to-any-file: 'docs/**'
5+
github:
6+
- changed-files:
7+
- any-glob-to-any-file: '.github/**'

.github/workflows/labeler.yml

+12
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)