]> git.openstreetmap.org Git - rails.git/blobdiff - .github/workflows/tests.yml
Cancel workflow runs which get superseded automatically
[rails.git] / .github / workflows / tests.yml
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 }}