Jelajahi Sumber

ci: fix job are cancelling each other (#6781)

Pierrick Hymbert 1 tahun lalu
induk
melakukan
c0956b09ba
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      .github/workflows/bench.yml
  2. 1 1
      .github/workflows/server.yml

+ 1 - 1
.github/workflows/bench.yml

@@ -32,7 +32,7 @@ on:
     -  cron: '04 2 * * *'
 
 concurrency:
-  group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}-${{ github.event.inputs.sha }}
+  group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ github.event.inputs.sha }}
   cancel-in-progress: true
 
 jobs:

+ 1 - 1
.github/workflows/server.yml

@@ -23,7 +23,7 @@ on:
     -  cron: '2 4 * * *'
 
 concurrency:
-  group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
+  group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
   cancel-in-progress: true
 
 jobs: