chore: support for switchover in the sharding component by specifying the componentObjectName of the shard #6484
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cherry Pick | |
on: | |
issue_comment: | |
types: [created] | |
env: | |
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
jobs: | |
cherry-pick: | |
name: Cherry Pick | |
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/cherry-pick') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ env.GH_TOKEN }} | |
fetch-depth: 0 | |
- name: Automatic Cherry Pick | |
uses: apecloud-inc/gha-cherry-pick@v1 | |
env: | |
GITHUB_TOKEN: ${{ env.GH_TOKEN }} |