Skip to content

Commit

Permalink
Disable the cherry-pick bot (apache#8799)
Browse files Browse the repository at this point in the history
---

*Motivation*

Disable the cherry-pick bot. Because of the cherry-pick bot
will change the author of the PR and maybe need another way
to do the cherry-pick automatically.
  • Loading branch information
zymap authored Dec 9, 2020
1 parent a8a7993 commit 5f250b5
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/ci-pulsarbot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,26 +47,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
uses: apache/pulsar-test-infra/pulsarbot@master

# Just use a github user who has permission to create a branch on the apache/pulsar repo.
# We can consider creating a bot user to do this.
- name: Cherry-pick prompt
if: github.event_name == 'pull_request' && github.event.pull_request.merged == true
uses: apache/pulsar-test-infra/cherry-pick@master
env:
GITHUB_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
with:
type: prompt-comment
github_user: codelipenghui
github_email: '[email protected]'
github_repos: 'apache/pulsar'

- name: Cherry-pick
if: github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/pulsarbot cherry-pick')
uses: apache/pulsar-test-infra/cherry-pick@master
env:
GITHUB_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
with:
github_user: codelipenghui
github_email: '[email protected]'
github_repos: 'apache/pulsar'

0 comments on commit 5f250b5

Please sign in to comment.