chore: remove the container killer from parameters #8928
This file contains hidden or 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 Or Label Pick | |
| on: | |
| issue_comment: | |
| types: [created] | |
| env: | |
| GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
| jobs: | |
| 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 }} | |
| pick-meassge: | |
| needs: [ cherry-pick ] | |
| if: ${{ failure() || cancelled() }} | |
| uses: apecloud/apecloud-cd/.github/workflows/[email protected] | |
| with: | |
| TYPE: "5" | |
| BOT_TYPE: "specify" | |
| BOT_WEBHOOK: "${{ vars.CHERRY_PICK_BOT_WEBHOOK }}" | |
| CONTENT: " ${{ github.repository }} ${{ github.event.comment.body }} error" | |
| PR_NUMBER: "${{ github.event.issue.number }}" | |
| secrets: inherit | |
| label-pick: | |
| if: ${{ github.event.issue.pull_request != '' && (contains(github.event.comment.body, '/pick') || contains(github.event.comment.body, '/nopick')) && ! contains(github.event.comment.body, 'Auto Cherry-pick Instructions') }} | |
| uses: apecloud/apecloud-cd/.github/workflows/[email protected] | |
| secrets: inherit |