You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by li...@apache.org on 2022/06/15 00:48:28 UTC

[pulsar] branch master updated: [fix][workflow] Support concurrency group and reusable workflow files in docbot (#16060)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 39218f4aae5 [fix][workflow] Support concurrency group and reusable workflow files in docbot (#16060)
39218f4aae5 is described below

commit 39218f4aae5f87660c08f8b8b2d1d1d582f237e6
Author: Max Xu <ma...@gmail.com>
AuthorDate: Wed Jun 15 08:48:21 2022 +0800

    [fix][workflow] Support concurrency group and reusable workflow files in docbot (#16060)
---
 .github/workflows/ci-documentbot.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci-documentbot.yml b/.github/workflows/ci-documentbot.yml
index 77bec448a26..8c31223fdef 100644
--- a/.github/workflows/ci-documentbot.yml
+++ b/.github/workflows/ci-documentbot.yml
@@ -27,6 +27,10 @@ on:
       - labeled
       - unlabeled
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 jobs:
   label:
     if: ${{ github.repository == 'apache/pulsar' }}
@@ -46,7 +50,7 @@ jobs:
           go-version: 1.18
 
       - name: Labeling
-        uses: apache/pulsar-test-infra/docbot@master
+        uses: ./docbot
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           LABEL_WATCH_LIST: 'doc,doc-required,doc-not-needed,doc-complete'