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

morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 12ab45ab82f branch-3.1 [opt](GA) remove some useless workflow (#52052)
12ab45ab82f is described below

commit 12ab45ab82fbaad0e31ba15b6222fee63fa392f7
Author: morrySnow <[email protected]>
AuthorDate: Fri Jun 20 15:58:08 2025 +0800

    branch-3.1 [opt](GA) remove some useless workflow (#52052)
---
 .github/workflows/approve-label-trigger.yml   | 28 -----------
 .github/workflows/approve-label.yml           | 67 ---------------------------
 .github/workflows/auto-cherry-pick.yml        | 50 --------------------
 .github/workflows/delete-auto-pick-branch.yml |  2 +-
 .github/workflows/pr-approve-status.yml       | 43 -----------------
 .github/workflows/stale.yml                   | 43 -----------------
 6 files changed, 1 insertion(+), 232 deletions(-)

diff --git a/.github/workflows/approve-label-trigger.yml 
b/.github/workflows/approve-label-trigger.yml
deleted file mode 100644
index 1a9cb8415ff..00000000000
--- a/.github/workflows/approve-label-trigger.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-# 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: Label when reviewed
-on: pull_request_review
-jobs:
-
-  label-when-reviewed:
-    name: "Label PRs when reviewed"
-    runs-on: ubuntu-latest
-    steps:
-      - name: "Do nothing. Only trigger corresponding workflow_run event"
-        run: echo
diff --git a/.github/workflows/approve-label.yml 
b/.github/workflows/approve-label.yml
deleted file mode 100644
index f02257865e3..00000000000
--- a/.github/workflows/approve-label.yml
+++ /dev/null
@@ -1,67 +0,0 @@
-# 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: Label when approved workflow run
-on:
-  workflow_run:
-    workflows: ["Label when reviewed"]
-    types: ['requested']
-permissions:
-  # All other permissions are set to none
-  checks: write
-  contents: read
-  pull-requests: write
-
-jobs:
-
-  label-when-approved:
-    name: "Label when approved"
-    runs-on: ubuntu-latest
-    outputs:
-      isApprovedByCommiters: ${{ 
steps.label-when-approved-by-commiters.outputs.isApproved }}
-      isApprovedByAnyone: ${{ 
steps.label-when-approved-by-anyone.outputs.isApproved }}
-    steps:
-      - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
-        uses: actions/checkout@v2
-        with:
-          persist-credentials: false
-          submodules: recursive
-      - name: "Get information about the original trigger of the run"
-        uses: ./.github/actions/get-workflow-origin
-        id: source-run-info
-        with:
-          token: ${{ secrets.GITHUB_TOKEN }}
-          sourceRunId: ${{ github.event.workflow_run.id }}
-      - name: Label when approved by commiters
-        uses: ./.github/actions/label-when-approved-action
-        id: label-when-approved-by-commiters
-        with:
-          token: ${{ secrets.GITHUB_TOKEN }}
-          label: 'approved'
-          require_committers_approval: 'true'
-          remove_label_when_approval_missing: 'true'
-          pullRequestNumber: ${{ 
steps.source-run-info.outputs.pullRequestNumber }}
-          comment: 'PR approved by at least one committer and no changes 
requested.'
-      - name: Label when approved by anyone
-        uses: ./.github/actions/label-when-approved-action
-        id: label-when-approved-by-anyone
-        with:
-          token: ${{ secrets.GITHUB_TOKEN }}
-          label: 'reviewed'
-          pullRequestNumber: ${{ 
steps.source-run-info.outputs.pullRequestNumber }}
-          comment: 'PR approved by anyone and no changes requested.'
diff --git a/.github/workflows/auto-cherry-pick.yml 
b/.github/workflows/auto-cherry-pick.yml
deleted file mode 100644
index 1d59b52b6c9..00000000000
--- a/.github/workflows/auto-cherry-pick.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-# 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: Auto Cherry-Pick to Branch
-
-on:
-  pull_request:
-    types:
-      - closed
-    branches:
-      - master
-
-jobs:
-  auto_cherry_pick:
-    runs-on: ubuntu-latest
-    if: ${{ contains(github.event.pull_request.labels.*.name, 'dev/3.0.x') && 
github.event.pull_request.merged == true }}
-    steps:
-      - name: Checkout repository
-        uses: actions/checkout@v3
-
-      - name: Set up Python
-        uses: actions/setup-python@v4
-        with:
-          python-version: '3.x'
-
-      - name: Install dependencies
-        run: |
-          pip install PyGithub
-
-      - name: Auto cherry-pick
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-          REPO_NAME: ${{ github.repository }}
-          CONFLICT_LABEL: cherry-pick-conflict-in-3.0
-        run: |
-          python tools/auto-pick-script.py ${{ 
github.event.pull_request.number }} branch-3.0  
diff --git a/.github/workflows/delete-auto-pick-branch.yml 
b/.github/workflows/delete-auto-pick-branch.yml
index cb6100320d3..9ce34d08b91 100644
--- a/.github/workflows/delete-auto-pick-branch.yml
+++ b/.github/workflows/delete-auto-pick-branch.yml
@@ -23,7 +23,7 @@ on:
 
 jobs:
   delete-branch:
-    if: github.event.pull_request.merged == true && 
github.event.pull_request.base.ref == 'branch-3.0' && 
github.event.pull_request.user.login == 'github-actions[bot]' && 
startsWith(github.event.pull_request.head.ref, 'auto-pick')
+    if: github.event.pull_request.merged == true && 
github.event.pull_request.base.ref == 'branch-3.1' && 
github.event.pull_request.user.login == 'github-actions[bot]' && 
startsWith(github.event.pull_request.head.ref, 'auto-pick')
     runs-on: ubuntu-latest
 
     steps:
diff --git a/.github/workflows/pr-approve-status.yml 
b/.github/workflows/pr-approve-status.yml
deleted file mode 100644
index fe0a0161607..00000000000
--- a/.github/workflows/pr-approve-status.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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: Need_2_Approval
-
-on:
-  pull_request_review:
-    types: [ submitted ]
-
-jobs:
-  Need_2_Approval:
-    runs-on: ubuntu-latest
-    timeout-minutes: 5
-    steps:
-      - uses: actions/checkout@v3
-      - name: Install Python dependencies
-        uses: actions/setup-python@v5
-        with:
-          python-version: '3.10'  # Adjust if needed
-      - name: Install match library
-        run: |
-          pip install --upgrade pip 
-          pip install match
-          pip install requests
-      - name: Run Python script
-        run: |
-          python tools/maintainers/check_review.py  ${{ 
github.event.pull_request.number }} ${{secrets.GITHUB_TOKEN}}
-env:
-  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
deleted file mode 100644
index 33e919cb5d9..00000000000
--- a/.github/workflows/stale.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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: Close stale PRs
-
-on:
-  schedule:
-  - cron: "0 0 * * *"
-
-jobs:
-  stale:
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/stale@c201d45ef4b0ccbd3bb0616f93bae13e73d0a080 # [email protected]
-      with:
-        repo-token: ${{ secrets.GITHUB_TOKEN }}
-        stale-pr-message: >
-          We're closing this PR because it hasn't been updated in a while.
-          
-          This isn't a judgement on the merit of the PR in any way. It's just
-          a way of keeping the PR queue manageable.
-
-          If you'd like to revive this PR, please reopen it and feel free a
-          maintainer to remove the Stale tag!
-        days-before-stale: 180
-        # Setting this to 0 is the same as setting it to 1.
-        # See: https://github.com/actions/stale/issues/28
-        days-before-close: 0


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to