Skip to content

Commit 9fe9bcc

Browse files
authored
chore: add recheck-cla for KB (#748)
* chore: add recheck-cla for KB * chore: add recheck-cla for KB
1 parent 5c5998d commit 9fe9bcc

1 file changed

Lines changed: 29 additions & 5 deletions

File tree

.github/workflows/pull-request-cherry-pick-usage.yml

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,35 @@ jobs:
2525
elif [[ "${{ github.repository }}" == "apecloud/apecloud-addons" ]]; then
2626
EXAMPLE_RELEASE_BRANCH="release-1.0"
2727
fi
28+
if [[ "${{ github.repository }}" == "apecloud/kubeblocks" ]]; then
29+
bash ${{ github.workspace }}/apecloud-cd/.github/utils/utils.sh \
30+
--type 15 \
31+
--github-repo "${{ github.repository }}" \
32+
--issue-number "${{ github.event.pull_request.number }}" \
33+
--issue-comment "**Auto Cherry-pick Instructions**
34+
\`\`\`
35+
Usage:
36+
- /nopick: Not auto cherry-pick when PR merged.
37+
- /pick: release-x.x [release-x.x]: Auto cherry-pick to the specified branch when PR merged.
2838
29-
bash ${{ github.workspace }}/apecloud-cd/.github/utils/utils.sh \
30-
--type 15 \
31-
--github-repo "${{ github.repository }}" \
32-
--issue-number "${{ github.event.pull_request.number }}" \
33-
--issue-comment "**Auto Cherry-pick Instructions**
39+
Example:
40+
- /nopick
41+
- /pick ${EXAMPLE_RELEASE_BRANCH}
42+
\`\`\`
43+
44+
****CLA Recheck Instructions****
45+
\`\`\`
46+
Usage:
47+
- /recheck-cla: Trigger a re-check of CLA status for this pull request.
48+
Example:
49+
- /recheck-cla
50+
\`\`\`"
51+
else
52+
bash ${{ github.workspace }}/apecloud-cd/.github/utils/utils.sh \
53+
--type 15 \
54+
--github-repo "${{ github.repository }}" \
55+
--issue-number "${{ github.event.pull_request.number }}" \
56+
--issue-comment "**Auto Cherry-pick Instructions**
3457
\`\`\`
3558
Usage:
3659
- /nopick: Not auto cherry-pick when PR merged.
@@ -40,3 +63,4 @@ jobs:
4063
- /nopick
4164
- /pick ${EXAMPLE_RELEASE_BRANCH}
4265
\`\`\`"
66+
fi

0 commit comments

Comments
 (0)