瀏覽代碼

ci: more concurrency groups

Philipp Schuster 7 月之前
父節點
當前提交
40e5356028
共有 2 個文件被更改,包括 8 次插入0 次删除
  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