Skip to content

Commit 667fb0e

Browse files
authored
add label to PR Automatically (microsoft#1393)
* auto_add_label * add md file to rule * change name and rules * change_label_name * change_rule_syntax * change match rule * change label name
1 parent f326f83 commit 667fb0e

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/labeler.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
documentation:
2+
- 'docs/**/*'
3+
- '*/**/*.md'
4+
- '*.md'
5+
6+
waiting for triage:
7+
- all: ['!docs/**/*', '!*/**/*.md', '!*.md']

.github/workflows/labeler.yml

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

0 commit comments

Comments
 (0)