summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLuke Parker <[email protected]>2026-03-13 09:54:34 +1000
committerGitHub <[email protected]>2026-03-13 09:54:34 +1000
commit268855dc5a770e9cd6718ea62b935afdea2dda7f (patch)
treea075a467a8c4b3ded54d7afd03db81347eb2c923
parentbfb736e94ad366b544cb29bf1063269d17d5a62c (diff)
downloadopencode-268855dc5a770e9cd6718ea62b935afdea2dda7f.tar.gz
opencode-268855dc5a770e9cd6718ea62b935afdea2dda7f.zip
fix(ci): keep test runs on dev (#17260)
-rw-r--r--.github/workflows/test.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index d9eded3f1..c928e8223 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -8,7 +8,9 @@ on:
workflow_dispatch:
concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ # Keep every run on dev so cancelled checks do not pollute the default branch
+ # commit history. PRs and other branches still share a group and cancel stale runs.
+ 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)) }}
cancel-in-progress: true
permissions: