Try GitHub actions to automatically label pull requests (#3497)

* Try GitHub actions to automatically label pull requests

* Add more labels

* Add test label
This commit is contained in:
kezhenxu94 2019-09-22 12:40:47 +08:00 committed by GitHub
parent 8ebf3aac04
commit 6e8d6197f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

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

@ -0,0 +1,27 @@
document:
- "**/*.md"
agent:
- "apm-sniffer/apm-sdk-plugin/**"
- "apm-sniffer/optional-plugins/**"
plugin:
- "apm-sniffer/apm-sdk-plugin/**"
- "apm-sniffer/optional-plugins/**"
core feature:
- "apm-sniffer/apm-agent-core/**"
- "oap-server/server-core/**"
- "oap-server/server-library/**"
docker:
- "docker/**"
OAP-backend:
- "oap-server/**"
UI:
- "skywalking-ui/**"
test:
- "test/**"

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

@ -0,0 +1,11 @@
name: Labeler
on:
- pull_request
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"