Skip to content

Commit 927301b

Browse files
committed
auto labeling PRs with changes in docs
1 parent 228fd41 commit 927301b

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
documentation:
2+
- 'docs/**'
3+
- '**/*.md'

.github/workflows/labeler.yml

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

0 commit comments

Comments
 (0)