From b061c97a813ceb587c2ef898eea1071e81d71773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Balv=C3=ADn?= Date: Thu, 17 Sep 2026 20:08:37 +0200 Subject: [PATCH] ci: experiment with cancel-in-progress on the test pipeline Assisted-by: GLM 5.3 Flash --- .gitea/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index d51615b..f2e3c1e 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -30,6 +30,13 @@ env: GOFLAGS: -p=1 GOMAXPROCS: "2" +# A superseded run of the same ref is cancelled instead of queueing behind one +# that no longer matters. Unverified on this Gitea: this block is the experiment +# from the roadmap, push twice in a row and watch whether the first run cancels. +concurrency: + group: ${{ gitea.workflow }}-${{ gitea.ref }} + cancel-in-progress: true + jobs: test: runs-on: fedora