]> git.openstreetmap.org Git - rails.git/blobdiff - .github/workflows/lint.yml
Cancel workflow runs which get superseded automatically
[rails.git] / .github / workflows / lint.yml
index a633a6614df0bce5dc546e5eeb34451b37213164..0042817d85877ba7e5b1942197cb87c202d33e71 100644 (file)
@@ -2,6 +2,9 @@ name: Lint
 on:
   - push
   - pull_request
 on:
   - push
   - pull_request
+concurrency:
+  group: ${{ github.workflow }}-{{ github.head_ref || github.ref }}
+  cancel-in-progress: true
 env:
   os: ubuntu-20.04
   ruby: 2.7
 env:
   os: ubuntu-20.04
   ruby: 2.7