You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zi...@apache.org on 2022/08/25 06:49:45 UTC

[pulsar-test-infra] branch master updated: [improve][docbot] Move the preceding steps into the action (#68)

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

zixuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-test-infra.git


The following commit(s) were added to refs/heads/master by this push:
     new 08d54aa  [improve][docbot] Move the preceding steps into the action (#68)
08d54aa is described below

commit 08d54aa2aae7288ac99a14112f0fdd44e42d55c9
Author: Max Xu <ma...@gmail.com>
AuthorDate: Thu Aug 25 14:49:40 2022 +0800

    [improve][docbot] Move the preceding steps into the action (#68)
    
    * Move the preceding steps into the action
    
    Signed-off-by: Max Xu <ma...@gmail.com>
    
    * Fix typo
    
    Signed-off-by: Max Xu <ma...@gmail.com>
    
    * Remove unnecessary ref
    
    The ref uses the default branch.
    
    Signed-off-by: Max Xu <ma...@gmail.com>
    
    Signed-off-by: Max Xu <ma...@gmail.com>
---
 docbot/action.yml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/docbot/action.yml b/docbot/action.yml
index 3de4f48..9ecddf7 100644
--- a/docbot/action.yml
+++ b/docbot/action.yml
@@ -8,6 +8,15 @@ branding:
 runs:
   using: composite
   steps:
-    - run: go run main.go
+    - name: Checkout
+      uses: actions/checkout@v3
+      with:
+        repository: apache/pulsar-test-infra
+    - name: Setup Go
+      uses: actions/setup-go@v3
+      with:
+        go-version: 1.18
+    - name: Execute
+      run: go run main.go
       shell: bash
       working-directory: docbot