This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new d2b3508  Rerun the failed tests by comments
d2b3508 is described below

commit d2b350845fc93c46dfdadbc498a78a37f74e6199
Author: Yong Zhang <[email protected]>
AuthorDate: Mon May 4 18:21:07 2020 +0800

    Rerun the failed tests by comments
    
    ---
    
    *Motivation*
    
    Currently, non-committers cannot rerun the failure tests, we need to
    provide the ability to let non-committer to rerun the failed tests.
    I wrote a Github Actions that can rerun the failed test by comments
    `rerun failure tests` and add it to the bookkeeper ci process.
    
    
    
    Reviewers: Enrico Olivelli <[email protected]>
    
    This closes #2309 from zymap/rerun-failure-job
---
 .github/workflows/bot.yml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml
new file mode 100644
index 0000000..fdda43f
--- /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.BKBOT_TOKEN }}
+        with:
+          repo_owner: apache
+          repo_name: bookkeeper
+          rerun_cmd: rerun failure checks
+          comment: ${{ github.event.comment.body }}

Reply via email to