You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2021/07/29 01:36:18 UTC

[incubator-inlong] branch master updated: [INLONG-1401] ci: add labeler workflow (#1402)

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

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new d8711a5  [INLONG-1401] ci: add labeler workflow (#1402)
d8711a5 is described below

commit d8711a5847d543fd3ba7f5ad97545bc8564c7e52
Author: 深刻 <ts...@qq.com>
AuthorDate: Thu Jul 29 09:36:14 2021 +0800

    [INLONG-1401] ci: add labeler workflow (#1402)
    
    issue: #1401
---
 .github/labeler.yml              | 35 +++++++++++++++++++++++++++++++++++
 .github/workflows/ci_labeler.yml | 31 +++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000..c94b5ff
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,35 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+inlong-agent:
+  - inlong-agent/**/*
+
+inlong-dataproxy:
+  - inlong-dataproxy-sdk/**/*
+  - inlong-dataproxy/**/*
+
+inlong-manager:
+  - inlong-manager/**/*
+
+inlong-sort:
+  - inlong-sort/**/*
+
+inlong-tubemq:
+  - inlong-tubemq/**/*
+
+inlong-website:
+  - inlong-website/**/*
diff --git a/.github/workflows/ci_labeler.yml b/.github/workflows/ci_labeler.yml
new file mode 100644
index 0000000..4a21c3d
--- /dev/null
+++ b/.github/workflows/ci_labeler.yml
@@ -0,0 +1,31 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: InLong Pull Request Labeler
+
+on: pull_request_target
+
+jobs:
+  label:
+    name: Label
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/labeler@v3
+        with:
+          repo-token: ${{ secrets.GITHUB_TOKEN }}
+          configuration-path: .github/labeler.yml
+          sync-labels: true