You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by to...@apache.org on 2021/08/01 11:23:38 UTC

[apisix] branch master updated: ci: should not cancel since duplicate in master branch (#4728)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c5e0ecd  ci: should not cancel since duplicate in master branch (#4728)
c5e0ecd is described below

commit c5e0ecd62f361a18d50df9cc18559f4853f984eb
Author: Shuyang Wu <wo...@gmail.com>
AuthorDate: Sun Aug 1 07:23:32 2021 -0400

    ci: should not cancel since duplicate in master branch (#4728)
    
    Signed-off-by: yiyiyimu <wo...@gmail.com>
---
 .github/workflows/build.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8fb0b27..85db16e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -11,7 +11,7 @@ on:
       - 'docs/**'
 
 concurrency:
-  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
   cancel-in-progress: true
 
 jobs: