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:
7
.github/labeler.yml
vendored
Normal file
7
.github/labeler.yml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
documentation:
|
||||
- 'docs/**/*'
|
||||
- '*/**/*.md'
|
||||
- '*.md'
|
||||
|
||||
waiting for triage:
|
||||
- all: ['!docs/**/*', '!*/**/*.md', '!*.md']
|
||||
14
.github/workflows/labeler.yml
vendored
Normal file
14
.github/workflows/labeler.yml
vendored
Normal 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 }}"
|
||||
Reference in New Issue
Block a user