This is an automated email from the ASF dual-hosted git repository.
ming pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-ai.git
The following commit(s) were added to refs/heads/main by this push:
new 653905d chore: add pr auto label (#42)
653905d is described below
commit 653905d2e0c42c7855b111bb33161cf44243b2d6
Author: chenzihong <[email protected]>
AuthorDate: Tue May 21 11:30:57 2024 +0800
chore: add pr auto label (#42)
* ci: add pr auto label
* chore: bump to v5
* chore: bump actions/labeler from 4 to 5
---
.github/labeler.yml | 31 +++++++++++++++++++++++++++++++
.github/workflows/labeler.yml | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000..995f4d0
--- /dev/null
+++ b/.github/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.
+#
+# Pull Request Labeler Github Action Configuration:
https://github.com/marketplace/actions/labeler
+
+llm:
+- changed-files:
+ - any-glob-to-any-file: hugegraph-llm/**/*
+
+ml:
+- changed-files:
+ - any-glob-to-any-file: hugegraph-ml/**/*
+
+python-client:
+- changed-files:
+ - any-glob-to-any-file: hugegraph-python-client/**/*
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 0000000..4534c3d
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,39 @@
+#
+# 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:
+ - name: Clone repository
+ uses: actions/checkout@v4
+ with:
+ repository: "${{ github.repository }}"
+ - name: Add labels
+ uses: actions/labeler@v5
+ with:
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ sync-labels: true