You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by rx...@apache.org on 2020/11/18 13:12:09 UTC

[pulsar-client-go] branch master updated: Fix bot action ci yaml fie (#395)

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

rxl 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 82e676e  Fix bot action ci yaml fie (#395)
82e676e is described below

commit 82e676ec34f72f8f0d1c8eda5e03fb6805530611
Author: xiaolong ran <rx...@apache.org>
AuthorDate: Wed Nov 18 21:12:02 2020 +0800

    Fix bot action ci yaml fie (#395)
    
    Signed-off-by: xiaolong.ran <rx...@apache.org>
    
    
    ### Motivation
    
    Currently, when run the bot ci, the error as follows:
    
    ```
    Run zymap/bot@v1.0.0
      with:
        repo_owner: apache
        repo_name: pulsar-client-go
        rerun_cmd: rerun failure checks
        comment: rerun failure checks
      env:
        GITHUB_TOKEN: ***
    Error: HttpError: No commit found for SHA: xiaolong/test-bot
    ```
    
    ### Modifications
    
    Fix bot action ci yaml file
---
 .github/workflows/bot.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml
index 64d3d01..561fb1c 100644
--- a/.github/workflows/bot.yml
+++ b/.github/workflows/bot.yml
@@ -9,9 +9,10 @@ jobs:
 
     steps:
       - uses: actions/checkout@v2
-
+        with:
+          ref: ${{ github.event.pull_request.head.sha }}
       - name: Bot actions
-        uses: zymap/bot@v1.0.0
+        uses: zymap/bot@v1.0.1
         env:
           GITHUB_TOKEN: ${{ secrets.GO_CLIENT_BOT_TOKEN }}
         with: