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

spacewander 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 5e74ae1  ci: fix more concurrency problem (#4731)
5e74ae1 is described below

commit 5e74ae1650e847f57edbfb3af9fb6a2e7819e5ae
Author: Shuyang Wu <[email protected]>
AuthorDate: Sun Aug 1 21:32:03 2021 -0400

    ci: fix more concurrency problem (#4731)
    
    Signed-off-by: yiyiyimu <[email protected]>
---
 .github/workflows/centos7-ci.yml  | 2 +-
 .github/workflows/chaos.yml       | 2 +-
 .github/workflows/fuzzing-ci.yaml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/centos7-ci.yml b/.github/workflows/centos7-ci.yml
index dc533b0..6d069f6 100644
--- a/.github/workflows/centos7-ci.yml
+++ b/.github/workflows/centos7-ci.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:
diff --git a/.github/workflows/chaos.yml b/.github/workflows/chaos.yml
index 3ee9a23..5d4b7eb 100644
--- a/.github/workflows/chaos.yml
+++ b/.github/workflows/chaos.yml
@@ -8,7 +8,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:
diff --git a/.github/workflows/fuzzing-ci.yaml 
b/.github/workflows/fuzzing-ci.yaml
index a161835..282eacd 100644
--- a/.github/workflows/fuzzing-ci.yaml
+++ b/.github/workflows/fuzzing-ci.yaml
@@ -13,7 +13,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:

Reply via email to