ci: cancel the previous run of the same ref when a new push arrives
ci / smoke (push) Failing after 15s

This commit is contained in:
dsh committed 2026-11-10 19:44:36 +08:00
1 parent 7f049e9f67
commit b4be8f6bae
1 file changed
+5 -1
+5 -1
View File
@@ -1,4 +1,4 @@
# Gitea act_runner (labels: ubuntu-latest / ubuntu-24.04 / ubuntu-22.04).
# Gitea act_runner (labels: ubuntu-latest / ubuntu-24.04 / ubuntu-22.04).
#
# The machine has no test framework of its own (tests/vm_test.c is the CLI), so
# the steps below are the promises the README makes about I/O and geometry.
@@ -13,6 +13,10 @@ on:
pull_request:
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
smoke:
runs-on: ubuntu-latest