浏览代码

Cancel codeql.yml after re-pushing

Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Joas Schilling 1 年之前
父节点
当前提交
ca79bfefd6
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .github/workflows/codeql.yml

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

@@ -12,6 +12,10 @@ on:
 permissions:
   contents: read
 
+concurrency:
+    group: code-ql-${{ github.head_ref || github.run_id }}
+    cancel-in-progress: true
+
 jobs:
   analyze:
     name: Analyze