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 80fd41f Add rerun feature test command to repo (#311)
80fd41f is described below
commit 80fd41f5db80d433189a5eafa9b6d734d388b483
Author: 冉小龙 <[email protected]>
AuthorDate: Sat Jul 11 01:00:12 2020 +0800
Add rerun feature test command to repo (#311)
* Add rerun feature test command to repo
Signed-off-by: xiaolong.ran <[email protected]>
* rename bot.yaml
Signed-off-by: xiaolong.ran <[email protected]>
* fix ci error
Signed-off-by: xiaolong.ran <[email protected]>
* fix ci error
Signed-off-by: xiaolong.ran <[email protected]>
---
.github/workflows/bot.yml | 21 +++++++++++++++++++++
integration-tests/license_test.go | 1 +
2 files changed, 22 insertions(+)
diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml
new file mode 100644
index 0000000..64d3d01
--- /dev/null
+++ b/.github/workflows/bot.yml
@@ -0,0 +1,21 @@
+name: Bot tests
+on:
+ issue_comment:
+ types: [created]
+
+jobs:
+ bot:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Bot actions
+ uses: zymap/[email protected]
+ 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 }}
diff --git a/integration-tests/license_test.go
b/integration-tests/license_test.go
index 4ab26f0..0aa9c84 100644
--- a/integration-tests/license_test.go
+++ b/integration-tests/license_test.go
@@ -66,6 +66,7 @@ var otherCheck = regexp.MustCompile(`#
var skip = map[string]bool{
"../pulsar/internal/pulsar_proto/PulsarApi.pb.go": true,
+ "../.github/workflows/bot.yaml": true,
}
func TestLicense(t *testing.T) {