A platform for community discussion. Free, open, simple.
Revert "DEV: Update workflow concurrency controls to use `github.ref_name` (#32524)" (#32592)
Alan Guo Xiang Tan55f09ed73f82
diff --git a/.github/workflows/licenses.yml b/.github/workflows/licenses.ymlindex 7fbfcf2b8c4..e22f37c16e9 100644--- a/.github/workflows/licenses.yml+++ b/.github/workflows/licenses.yml@@ -7,7 +7,7 @@ on:- mainconcurrency:- group: licenses-${{ format('{0}-{1}', github.ref_name, github.job) }}+ group: licenses-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}cancel-in-progress: truepermissions:diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.ymlindex 4ab4e15b642..11ed1d2ceae 100644--- a/.github/workflows/linting.yml+++ b/.github/workflows/linting.yml@@ -7,7 +7,7 @@ on:- mainconcurrency:- group: linting-${{ format('{0}-{1}', github.ref_name, github.job) }}+ group: linting-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}cancel-in-progress: truepermissions:diff --git a/.github/workflows/migration-tests.yml b/.github/workflows/migration-tests.ymlindex 82144f6c247..30271cdb5ec 100644--- a/.github/workflows/migration-tests.yml+++ b/.github/workflows/migration-tests.yml@@ -14,7 +14,7 @@ on:- "migrations/**"concurrency:- group: migration-tests-${{ format('{0}-{1}', github.ref_name, github.job) }}+ group: migration-tests-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}cancel-in-progress: truepermissions:diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 6265ca0e513..c02ee0802e3 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -19,7 +19,7 @@ on:- "migrations/**"concurrency:- group: tests-${{ format('{0}-{1}', github.ref_name, github.job) }}+ group: tests-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}cancel-in-progress: truepermissions: