Ver Fonte

ci: more concurrency groups

Philipp Schuster há 7 meses atrás
pai
commit
40e5356028
2 ficheiros alterados com 8 adições e 0 exclusões
  1. 4 0
      .github/workflows/integrationtest.yml
  2. 4 0
      .github/workflows/qa.yml

+ 4 - 0
.github/workflows/integrationtest.yml

@@ -11,6 +11,10 @@ name: "Integration Test"
 # Run on every push (tag, branch) and pull_request
 on: [ pull_request, push, merge_group ]
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
 env:
   CARGO_TERM_COLOR: always
 

+ 4 - 0
.github/workflows/qa.yml

@@ -2,6 +2,10 @@ name: QA
 
 on: [pull_request, push, merge_group]
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   spellcheck:
     name: Spellcheck