1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

add label to PR Automatically (#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
This commit is contained in:
Linlang
2022-12-17 00:12:33 +08:00
committed by GitHub
parent f326f83fae
commit 667fb0e4d9
2 changed files with 21 additions and 0 deletions

7
.github/labeler.yml vendored Normal file
View File

@@ -0,0 +1,7 @@
documentation:
- 'docs/**/*'
- '*/**/*.md'
- '*.md'
waiting for triage:
- all: ['!docs/**/*', '!*/**/*.md', '!*.md']

14
.github/workflows/labeler.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
name: "Add label automatically"
on:
- pull_request_target
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"