This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch branch-1.2
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-1.2 by this push:
new d7e2cda57c [Cherry-pick to branch-1.2] [#10210] improvement(CI):
Automatically run CI for auto-cherry-pick PRs (#10211) (#10228)
d7e2cda57c is described below
commit d7e2cda57c4c9c5aa07ad29a88ad81d8748e2a94
Author: Qi Yu <[email protected]>
AuthorDate: Thu Mar 5 13:48:17 2026 +0800
[Cherry-pick to branch-1.2] [#10210] improvement(CI): Automatically run CI
for auto-cherry-pick PRs (#10211) (#10228)
**Cherry-pick Information:**
- Original commit: 01e75cb873b04512bb7dc255bc5cc91ca2f9ba04
- Target branch: `branch-1.2`
- Status: ✅ Clean cherry-pick (no conflicts)
---
.github/workflows/cherry-pick-branch.yml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/cherry-pick-branch.yml
b/.github/workflows/cherry-pick-branch.yml
index d5a3b89e87..e685d6bd0e 100644
--- a/.github/workflows/cherry-pick-branch.yml
+++ b/.github/workflows/cherry-pick-branch.yml
@@ -44,7 +44,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- token: ${{ secrets.GITHUB_TOKEN }}
+ # A PAT (or GitHub App token) is required so that the created PR
+ # triggers downstream CI workflows. GITHUB_TOKEN-created events
+ # are intentionally ignored by GitHub to prevent recursive runs.
+ token: ${{ secrets.CHERRY_PICK_TOKEN || secrets.GITHUB_TOKEN }}
- name: Set up Git
run: |
@@ -88,7 +91,7 @@ jobs:
- name: Create Pull Request
if: steps.cherry-pick.outputs.branch-name != ''
env:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GH_TOKEN: ${{ secrets.CHERRY_PICK_TOKEN || secrets.GITHUB_TOKEN }}
COMMIT_MESSAGE: ${{ inputs.commit-message }}
TARGET_BRANCH: ${{ inputs.target-branch }}
COMMIT_SHA: ${{ inputs.commit-sha }}