You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/11/10 07:54:16 UTC

[GitHub] [pulsar] zymap commented on a change in pull request #8500: Add cherry-pick bot for the pulsar

zymap commented on a change in pull request #8500:
URL: https://github.com/apache/pulsar/pull/8500#discussion_r520355600



##########
File path: .github/workflows/ci-pulsarbot.yaml
##########
@@ -41,6 +41,28 @@ jobs:
 
       - name: Execute pulsarbot command
         id:   pulsarbot
+        if: github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/pulsarbot')
         env:
           GITHUB_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
         uses: apache/pulsar-test-infra/pulsarbot@master
+
+      - 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

Review comment:
       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.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org