Skip to content

Commit 268855d

Browse files
authored
fix(ci): keep test runs on dev (anomalyco#17260)
1 parent bfb736e commit 268855d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

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

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
# Keep every run on dev so cancelled checks do not pollute the default branch
12+
# commit history. PRs and other branches still share a group and cancel stale runs.
13+
group: ${{ case(github.ref == 'refs/heads/dev', format('{0}-{1}', github.workflow, github.run_id), format('{0}-{1}', github.workflow, github.event.pull_request.number || github.ref)) }}
1214
cancel-in-progress: true
1315

1416
permissions:

0 commit comments

Comments
 (0)