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

yuqi4733 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new e8cdae34d [MINOR] CI: Add auto cherry-pick to branch-0.6 and remove 
self token (#4341)
e8cdae34d is described below

commit e8cdae34dab06917c6a0bfed59466941bd121227
Author: Jerry Shao <[email protected]>
AuthorDate: Fri Aug 2 18:01:52 2024 +0800

    [MINOR] CI: Add auto cherry-pick to branch-0.6 and remove self token (#4341)
    
    ### What changes were proposed in this pull request?
    
    This PR proposes to add auto cherry-pick support for branch-0.6, also
    removing the self token to use github token to make it work.
    
    ### Why are the changes needed?
    
    To support auto cherry-pick for branch-0.6.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Test on Github CI.
---
 .github/workflows/auto-cherry-pick.yml | 34 ++++++++++++++++------------------
 1 file changed, 16 insertions(+), 18 deletions(-)

diff --git a/.github/workflows/auto-cherry-pick.yml 
b/.github/workflows/auto-cherry-pick.yml
index 8b919af60..0a264e835 100644
--- a/.github/workflows/auto-cherry-pick.yml
+++ b/.github/workflows/auto-cherry-pick.yml
@@ -7,58 +7,56 @@ on:
     types: ["closed"]
 
 jobs:
-  cherry_pick_branch_0_3:
+  cherry_pick_branch_0_5:
     runs-on: ubuntu-latest
-    name: Cherry pick into branch_0.3
-    if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.3') && 
github.event.pull_request.merged == true }}
+    name: Cherry pick into branch_0.5
+    if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.5') && 
github.event.pull_request.merged == true }}
     steps:
       - name: Checkout
         uses: actions/checkout@v2
         with:
           fetch-depth: 0
-      - name: Cherry pick into branch-0.3
+      - name: Cherry pick into branch-0.5
         uses: carloscastrojumo/[email protected]
         with:
-          token: ${{ secrets.BOT_TOKEN }}
-          branch: branch-0.3
+          branch: branch-0.5
           labels: |
             cherry-pick
           reviewers: |
             jerryshao
 
-  cherry_pick_branch_0_4:
+  cherry_pick_branch_0_6:
     runs-on: ubuntu-latest
-    name: Cherry pick into branch_0.4
-    if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.4') && 
github.event.pull_request.merged == true }}
+    name: Cherry pick into branch_0.6
+    if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.6') && 
github.event.pull_request.merged == true }}
     steps:
       - name: Checkout
         uses: actions/checkout@v2
         with:
           fetch-depth: 0
-      - name: Cherry pick into branch-0.4
+      - name: Cherry pick into branch-0.6
         uses: carloscastrojumo/[email protected]
         with:
-          token: ${{ secrets.BOT_TOKEN }}
-          branch: branch-0.4
+          branch: branch-0.6
           labels: |
             cherry-pick
           reviewers: |
             jerryshao
 
-  cherry_pick_branch_0_5:
+
+  cherry_pick_branch_0_7:
     runs-on: ubuntu-latest
-    name: Cherry pick into branch_0.5
-    if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.5') && 
github.event.pull_request.merged == true }}
+    name: Cherry pick into branch_0.7
+    if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.7') && 
github.event.pull_request.merged == true }}
     steps:
       - name: Checkout
         uses: actions/checkout@v2
         with:
           fetch-depth: 0
-      - name: Cherry pick into branch-0.5
+      - name: Cherry pick into branch-0.7
         uses: carloscastrojumo/[email protected]
         with:
-          token: ${{ secrets.BOT_TOKEN }}
-          branch: branch-0.5
+          branch: branch-0.7
           labels: |
             cherry-pick
           reviewers: |

Reply via email to