This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-testing.git
The following commit(s) were added to refs/heads/main by this push:
new 3caabc7 Add the pull request labeler workflow (#4)
3caabc7 is described below
commit 3caabc77b19a14c58d11b7865535a2735f596a61
Author: John Bampton <[email protected]>
AuthorDate: Fri Jun 6 06:43:06 2025 +1000
Add the pull request labeler workflow (#4)
Add auto labeling for Markdown files
https://github.com/actions/labeler
---
.github/labeler.yml | 23 +++++++++++++++++++++++
.github/workflows/labeler.yml | 32 ++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000..eeaa9ff
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,23 @@
+# 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.
+
+# https://github.com/actions/labeler
+documentation:
+ - any:
+ - changed-files:
+ - any-glob-to-any-file:
+ - '**/*.md'
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 0000000..90e34bf
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,32 @@
+# 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.
+
+# https://github.com/actions/labeler
+name: Pull Request Labeler
+on:
+ - pull_request_target
+jobs:
+ triage:
+ permissions:
+ contents: read
+ pull-requests: write
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/labeler@v5
+ with:
+ repo-token: '${{ secrets.GITHUB_TOKEN }}'
+ sync-labels: true