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

hello-stephen pushed a commit to branch codex/disable-auto-pick-4.2
in repository https://gitbox.apache.org/repos/asf/doris.git

commit d871651846f7ca862958512ec860da5ed06f5e34
Author: lidongyang <[email protected]>
AuthorDate: Mon Sep 21 15:18:37 2026 +0800

    [chore](ci) Disable auto cherry-pick to branch-4.2
    
    ### What problem does this PR solve?
    
    Issue Number: N/A
    
    Related PR: #68013
    
    Problem Summary: The branch-4.2 release line should use manual 
cherry-picks. Remove the dev/4.2.x trigger and branch-4.2 auto-pick step while 
keeping branch-4.1 automation unchanged.
    
    ### Release note
    
    None
    
    ### Check List (For Author)
    
    - Test: Manual test
        - actionlint with the two pre-existing action-version warnings 
suppressed
        - git diff --check
        - verified the pinned auto-pick script SHA512
    - Behavior changed: Yes. The workflow no longer creates automatic 
branch-4.2 cherry-pick PRs.
    - Does this need documentation: No
---
 .github/workflows/auto-cherry-pick.yml | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/.github/workflows/auto-cherry-pick.yml 
b/.github/workflows/auto-cherry-pick.yml
index 081134cfb93..bb02cb1064d 100644
--- a/.github/workflows/auto-cherry-pick.yml
+++ b/.github/workflows/auto-cherry-pick.yml
@@ -31,7 +31,7 @@ permissions:
 jobs:
   auto_cherry_pick:
     runs-on: ubuntu-latest
-    if: ${{(contains(github.event.pull_request.labels.*.name, 'dev/4.1.x') || 
contains(github.event.pull_request.labels.*.name, 'dev/4.2.x') || 
github.event.label.name == 'dev/4.1.x' || github.event.label.name == 
'dev/4.2.x') && github.event.pull_request.merged == true }}
+    if: ${{(contains(github.event.pull_request.labels.*.name, 'dev/4.1.x') || 
github.event.label.name == 'dev/4.1.x') && github.event.pull_request.merged == 
true }}
     steps:
       - name: Checkout repository
         uses: actions/checkout@v3
@@ -63,12 +63,3 @@ jobs:
           CONFLICT_LABEL: dev/4.1.x-conflict
         run: |
           python tools/auto-pick-script.py ${{ 
github.event.pull_request.number }} branch-4.1
-
-      - name: Auto cherry-pick to branch-4.2
-        if: ${{ ((github.event.action == 'labeled' && github.event.label.name 
== 'dev/4.2.x'))|| ((github.event_name == 'pull_request_target' && 
github.event.action == 'closed') && 
contains(github.event.pull_request.labels.*.name, 'dev/4.2.x')) }}
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-          REPO_NAME: ${{ github.repository }}
-          CONFLICT_LABEL: cherry-pick-conflict
-        run: |
-          python tools/auto-pick-script.py ${{ 
github.event.pull_request.number }} branch-4.2


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

Reply via email to