Skip to content

Commit 7a64cd2

Browse files
authored
Merge pull request #956 from codeflash-ai/cancel-in-progress
apply cancel-in-progress to all GHA
2 parents 33437d3 + 66ff6f0 commit 7a64cd2

14 files changed

+50
-2
lines changed

.github/workflows/codeflash-optimize.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.ref }}
11+
group: ${{ github.workflow }}-${{ github.ref_name }}
1212
cancel-in-progress: true
1313

1414
jobs:

.github/workflows/e2e-async.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
workflow_dispatch:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref_name }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
async-optimization:
1216
# Dynamically determine if environment is needed only when workflow files change and contributor is external

.github/workflows/e2e-bubblesort-benchmark.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
workflow_dispatch:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref_name }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
benchmark-bubble-sort-optimization:
1216
# Dynamically determine if environment is needed only when workflow files change and contributor is external

.github/workflows/e2e-bubblesort-pytest-nogit.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
workflow_dispatch:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref_name }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
bubble-sort-optimization-pytest-no-git:
1216
# Dynamically determine if environment is needed only when workflow files change and contributor is external

.github/workflows/e2e-bubblesort-unittest.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
workflow_dispatch:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref_name }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
bubble-sort-optimization-unittest:
1216
# Dynamically determine if environment is needed only when workflow files change and contributor is external

.github/workflows/e2e-coverage-optimization.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
workflow_dispatch:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref_name }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
end-to-end-test-coverage:
1216
# Dynamically determine if environment is needed only when workflow files change and contributor is external

.github/workflows/e2e-futurehouse-structure.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
workflow_dispatch:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref_name }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
futurehouse-structure:
1216
# Dynamically determine if environment is needed only when workflow files change and contributor is external

.github/workflows/e2e-init-optimization.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- '**' # Trigger for all paths
77
workflow_dispatch:
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref_name }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
init-optimization:
1115
# Dynamically determine if environment is needed only when workflow files change and contributor is external

.github/workflows/e2e-topological-sort.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
workflow_dispatch:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref_name }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
topological-sort-worktree-optimization:
1216
# Dynamically determine if environment is needed only when workflow files change and contributor is external

.github/workflows/e2e-tracer-replay.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- '**' # Trigger for all paths
77
workflow_dispatch:
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref_name }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
tracer-replay:
1115
# Dynamically determine if environment is needed only when workflow files change and contributor is external

0 commit comments

Comments
 (0)