A platform for community discussion. Free, open, simple.
DEV: Cancel in-progress test runs on PRs (#15096)
Penar Musaraj78830d14b2bd
diff --git a/.github/workflows/ember.yml b/.github/workflows/ember.ymlindex b906767d01b..8a727a4f0d7 100644--- a/.github/workflows/ember.yml+++ b/.github/workflows/ember.yml@@ -6,6 +6,10 @@ on:branches:- main+concurrency:+ group: ember-${{ format('{0}-{1}', github.head_ref, github.job) || format('{0}-{1}', github.ref, github.run_number) }}+ cancel-in-progress: true+jobs:build:name: rundiff --git a/.github/workflows/linting.yml b/.github/workflows/linting.ymlindex ac5b712d03a..11acb6e7a34 100644--- a/.github/workflows/linting.yml+++ b/.github/workflows/linting.yml@@ -6,6 +6,10 @@ on:branches:- main+concurrency:+ group: linting-${{ format('{0}-{1}', github.head_ref, github.job) || format('{0}-{1}', github.ref, github.run_number) }}+ cancel-in-progress: true+jobs:build:name: rundiff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 21234f82adb..4a760b12875 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -6,6 +6,10 @@ on:branches:- main+concurrency:+ group: tests-${{ format('{0}-{1}', github.head_ref, github.job) || format('{0}-{1}', github.ref, github.run_number) }}+ cancel-in-progress: true+jobs:build:name: ${{ matrix.target }} ${{ matrix.build_type }}