You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by mi...@apache.org on 2023/05/10 08:38:22 UTC

[shardingsphere-on-cloud] branch main updated: chore: add github action labeler

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

miaoliyao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shardingsphere-on-cloud.git


The following commit(s) were added to refs/heads/main by this push:
     new 2a9fb57  chore: add github action labeler
     new 6e5f6ab  Merge pull request #355 from Xu-Wentao/github-action
2a9fb57 is described below

commit 2a9fb579dd4d64b72b100db4118c5980c2386558
Author: xuwentao <cu...@yahoo.com>
AuthorDate: Wed May 10 15:54:32 2023 +0800

    chore: add github action labeler
---
 .github/labeler.yml           | 43 +++++++++++++++++++++++++++++++++++++++++++
 .github/workflows/labeler.yml | 31 +++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000..0942f3e
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,43 @@
+#
+# 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.
+#
+
+github-action:
+  - .github/**
+
+operator:
+  - shardingsphere-operator/**
+
+pitr:
+  - pitr/**
+
+cloudformation:
+    - cloudformation/**
+
+terraform:
+  - terraform/**
+
+docs:
+  - docs/**
+
+helm:
+  - charts/**
+
+grafana:
+  - grafana/**
+
+wasm:
+  - wasm/**
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 0000000..657682a
--- /dev/null
+++ b/.github/workflows/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: "Pull Request Labeler"
+on:
+  - pull_request_target
+
+jobs:
+  triage:
+    permissions:
+      contents: read
+      pull-requests: write
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/labeler@v4
+        with:
+          sync-labels: true