You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2021/05/04 22:04:38 UTC
[pulsar-client-go] branch master updated: use
pulsar-test-infra/pulsarbot (#487)
This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git
The following commit(s) were added to refs/heads/master by this push:
new 203f2f6 use pulsar-test-infra/pulsarbot (#487)
203f2f6 is described below
commit 203f2f60325b8ce021c34578b13a38c4568b4e57
Author: Rui Fu <fr...@users.noreply.github.com>
AuthorDate: Wed May 5 06:04:32 2021 +0800
use pulsar-test-infra/pulsarbot (#487)
---
.github/workflows/bot.yml | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml
index 561fb1c..b46568b 100644
--- a/.github/workflows/bot.yml
+++ b/.github/workflows/bot.yml
@@ -2,21 +2,23 @@ name: Bot tests
on:
issue_comment:
types: [created]
+ pull_request:
+ types: [closed]
jobs:
bot:
runs-on: ubuntu-latest
+ timeout-minutes: 120
steps:
- - uses: actions/checkout@v2
+ - name: checkout
+ uses: actions/checkout@v2
with:
+ fetch-depth: 100
ref: ${{ github.event.pull_request.head.sha }}
- - name: Bot actions
- uses: zymap/bot@v1.0.1
+ - name: Execute pulsarbot command
+ id: pulsarbot
+ if: github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/pulsarbot')
env:
GITHUB_TOKEN: ${{ secrets.GO_CLIENT_BOT_TOKEN }}
- with:
- repo_owner: apache
- repo_name: pulsar-client-go
- rerun_cmd: rerun failure checks
- comment: ${{ github.event.comment.body }}
+ uses: apache/pulsar-test-infra/pulsarbot@master