]> git.openstreetmap.org Git - rails.git/commitdiff
Cancel workflow runs which get superseded automatically
authorTom Hughes <tom@compton.nu>
Thu, 21 Apr 2022 11:25:59 +0000 (12:25 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 21 Apr 2022 11:25:59 +0000 (12:25 +0100)
.github/workflows/docker.yml
.github/workflows/lint.yml
.github/workflows/tests.yml

index 29ef1e8b807cae238f7ac82779d20913e5bf8f78..cc2420730faea28c41ed593ef5f71ea48b83e78a 100644 (file)
@@ -2,6 +2,9 @@ name: Docker
 on:
   - push
   - pull_request
+concurrency:
+  group: ${{ github.workflow }}-{{ github.head_ref || github.ref }}
+  cancel-in-progress: true
 jobs:
   test:
     name: Docker
index a633a6614df0bce5dc546e5eeb34451b37213164..0042817d85877ba7e5b1942197cb87c202d33e71 100644 (file)
@@ -2,6 +2,9 @@ name: Lint
 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
index 2d272c718f37206f5b83969911b94739e8a0b178..1c82d20aeef4010e0b556713aa6079485d6e2ea6 100644 (file)
@@ -2,6 +2,9 @@ name: Tests
 on:
   - push
   - pull_request
+concurrency:
+  group: ${{ github.workflow }}-{{ github.head_ref || github.ref }}
+  cancel-in-progress: true
 jobs:
   test:
     name: Ubuntu ${{ matrix.ubuntu }}, Ruby ${{ matrix.ruby }}