Browse Source

Fixes GitHub Workflow Concurrency flag (#7505)

* Do not cancel master workflow.
Aleos 2 years ago
parent
commit
70d729ecf8

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

@@ -3,7 +3,7 @@ name: Analyse servers with CodeQL
 
 concurrency:
   group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
 
 on:
   push:

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

@@ -3,7 +3,7 @@ name: Build servers with Clang
 
 concurrency:
   group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
 
 on:
   push:

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

@@ -3,7 +3,7 @@ name: Build servers with CMake
 
 concurrency:
   group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
 
 on:
   push:

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

@@ -3,7 +3,7 @@ name: Build servers with GCC
 
 concurrency:
   group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
 
 on:
   push:

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

@@ -3,7 +3,7 @@ name: Build servers in Pre-Renewal and Renewal
 
 concurrency:
   group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
 
 on:
   push:

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

@@ -3,7 +3,7 @@ name: Build servers with MSVS
 
 concurrency:
   group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
 
 on:
   push:

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

@@ -3,7 +3,7 @@ name: Build servers with different packet versions
 
 concurrency:
   group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
 
 on:
   push:

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

@@ -3,7 +3,7 @@ name: Build servers in VIP mode
 
 concurrency:
   group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
 
 on:
   push:

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

@@ -6,7 +6,7 @@ name: Validate NPC Scripts and DB Changes
 
 concurrency:
   group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
 
 on:
   push: