This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e8d619  Try GitHub actions to automatically label pull requests 
(#3497)
6e8d619 is described below

commit 6e8d6197f34632d3b0228eeaa9267f1e921a7a71
Author: kezhenxu94 <kezhenx...@apache.org>
AuthorDate: Sun Sep 22 12:40:47 2019 +0800

    Try GitHub actions to automatically label pull requests (#3497)
    
    * Try GitHub actions to automatically label pull requests
    
    * Add more labels
    
    * Add test label
---
 .github/labeler.yml           | 27 +++++++++++++++++++++++++++
 .github/workflows/labeler.yml | 11 +++++++++++
 2 files changed, 38 insertions(+)

diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000..bba82b6
--- /dev/null
+++ b/.github/labeler.yml
@@ -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/**"
\ No newline at end of file
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 0000000..43a34aa
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -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 }}"

Reply via email to