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:
parent
8ebf3aac04
commit
6e8d6197f3
|
|
@ -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/**"
|
||||
|
|
@ -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 }}"
|
||||
Loading…
Reference in New Issue