瀏覽代碼

feat: Add concurrency to details-check workflow

This commit adds a new feature to the details-check workflow by including concurrency. The group is set to the branch name and cancel-in-progress is enabled.
Daniel Gibbs 3 年之前
父節點
當前提交
fa24b08370
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .github/workflows/details-check.yml

+ 4 - 0
.github/workflows/details-check.yml

@@ -4,6 +4,10 @@ on:
   workflow_dispatch:
   push:
 
+concurrency:
+  group: ${{ github.ref_name }}
+  cancel-in-progress: true
+
 jobs:
   create-matrix:
     runs-on: ubuntu-latest