Skip to content

A platform for community discussion. Free, open, simple.

DEV: Avoid cancelling in-progress tests for branches (#15101)

Penar Musaraj1b5f26e0ab9b
diff --git a/.github/workflows/ember.yml b/.github/workflows/ember.yml
index 8a727a4f0d7..8c7148182c0 100644
--- a/.github/workflows/ember.yml
+++ b/.github/workflows/ember.yml
@@ -7,7 +7,7 @@ on:
- main
concurrency:
- group: ember-${{ format('{0}-{1}', github.head_ref, github.job) || format('{0}-{1}', github.ref, github.run_number) }}
+ group: ember-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}
cancel-in-progress: true
jobs:
diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml
index 11acb6e7a34..b1e756e2bd7 100644
--- a/.github/workflows/linting.yml
+++ b/.github/workflows/linting.yml
@@ -7,7 +7,7 @@ on:
- main
concurrency:
- group: linting-${{ format('{0}-{1}', github.head_ref, github.job) || format('{0}-{1}', github.ref, github.run_number) }}
+ group: linting-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}
cancel-in-progress: true
jobs:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 4a760b12875..7f52de106f5 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -7,7 +7,7 @@ on:
- main
concurrency:
- group: tests-${{ format('{0}-{1}', github.head_ref, github.job) || format('{0}-{1}', github.ref, github.run_number) }}
+ group: tests-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}
cancel-in-progress: true
jobs: