[ci] Don't use branch name for concurrency (#31296)
I happened to notice some jobs on main get canceled if another PR landed before the prior commit on main had finished running CI. This is not great for difftrain because the commit artifacts job relies on the CI jobs on main finishing before it triggers. This would lead to commits being skipped on DiffTrain which is not great for provenance since we want it to be a 1:1 sync. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/31296). * #31297 * __->__ #31296
lauren committed
Oct 18, 2024 at 15:02 UTC
54c0edc019b97d8c08b8c2ccb552da4e5ea8a8cd
5 files changed
+5
-5
.github/workflows/compiler_playground.yml
+1
-1
@@ -9,7 +9,7 @@ on:
9
- .github/workflows/compiler-playground.yml
10
11
concurrency:
12
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
12
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
13
cancel-in-progress: true
14
15
env:
.github/workflows/compiler_rust.yml
+1
-1
@@ -16,7 +16,7 @@ on:
16
- compiler/*.toml
17
18
concurrency:
19
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
19
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
20
cancel-in-progress: true
21
22
env:
.github/workflows/compiler_typescript.yml
+1
-1
@@ -9,7 +9,7 @@ on:
9
- .github/workflows/compiler_typescript.yml
10
11
concurrency:
12
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
12
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
13
cancel-in-progress: true
14
15
env:
.github/workflows/runtime_build_and_test.yml
+1
-1
@@ -8,7 +8,7 @@ on:
8
- compiler/**
9
10
concurrency:
11
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
11
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
12
cancel-in-progress: true
13
14
env:
.github/workflows/shared_lint.yml
+1
-1
@@ -6,7 +6,7 @@ on:
6
pull_request:
7
8
concurrency:
9
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
9
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
10
cancel-in-progress: true
11
12
env: