Skip to content

Commit 292fef2

Browse files
authored
1 parent edcbd13 commit 292fef2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/cherry-pick-since-release-branch.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,13 @@ jobs:
108108
steps:
109109
- name: checkout
110110
uses: actions/checkout@v4
111-
with:
112-
# For automatic trigger from PR events, `pr_sha` is unset,
113-
# and it will checkout the latest commit on the branch by default.
114-
ref: ${{ needs.get-target-release-branches.outputs.pr_sha || '' }}
115111

116112
- name: Create PR to branch
117113
uses: risingwavelabs/github-action-cherry-pick@master
118114
with:
115+
# For automatic trigger from PR events, `pr_sha` is unset,
116+
# and it will use the triggering SHA (GITHUB_SHA) instead.
117+
commit_sha: ${{ needs.get-target-release-branches.outputs.pr_sha || '' }}
119118
pr_branch: ${{ matrix.branch }}
120119
pr_labels: "cherry-pick"
121120
pr_body: ${{ format('Cherry picking \#{0} onto branch {1}', needs.get-target-release-branches.outputs.pr_number, matrix.branch) }}

0 commit comments

Comments
 (0)