This is an automated email from the ASF dual-hosted git repository. github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-3278-f64575819ec5d61a1d8ffd7740831a2cb64df5cd in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
commit 86d6618804a902eac10f09c09a565aca5dad0d46 Author: Kevin Liu <[email protected]> AuthorDate: Mon Sep 28 17:09:53 2026 +0000 ci: auto-label DataFusion issues and PRs (#3278) ci: auto-label issues and PRs that mention DataFusion Contributors without triage permission cannot add labels. Use github/issue-labeler to apply the datafusion label when an issue or PR title or body mentions DataFusion. Co-authored-by: Copilot App <[email protected]> --- .github/labeler.yml | 21 +++++++++++++++++++++ .github/workflows/labeler.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..0cf48f105 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,21 @@ +# 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. + +# Issue and pull request labeler configuration: https://github.com/github/issue-labeler +# Labels issues and PRs whose title or body matches the regex. +datafusion: + - '/datafusion/i' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..016800e0d --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,42 @@ +# +# 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: "Issue and Pull Request Labeler" +on: + issues: + types: [opened, edited] + pull_request_target: # zizmor: ignore[dangerous-triggers] + types: [opened, edited] + +permissions: + contents: read + issues: write + pull-requests: write + +jobs: + triage: + if: github.repository_owner == 'apache' + runs-on: ubuntu-slim + steps: + - uses: github/issue-labeler@ccca1e16fcb66762200e616fc29b57b940c1cb67 # v3.5 + with: + configuration-path: .github/labeler.yml # label -> regex rules + enable-versioned-regex: 0 # required; 0 = no versioned configs + include-title: 1 # match title + include-body: 1 # match body (default)
