]> git.openstreetmap.org Git - chef.git/blobdiff - .github/workflows/cookstyle.yml
GH action cancel replaced in-progress runs
[chef.git] / .github / workflows / cookstyle.yml
index a9b8b962c1ec2df0c586427da8eca4b8bfe3d869..62d14b8aff4111424c078299c947a36206e25f0a 100644 (file)
@@ -1,7 +1,13 @@
 name: Cookstyle
+
 on:
   - push
   - pull_request
+
+concurrency:
+  group: ${{ github.workflow }}-{{ github.head_ref || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   cookstyle:
     name: Cookstyle