From 4599e052d08dabc15264e85742976d92d10b737d Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Thu, 30 Jul 2026 10:27:21 +0200 Subject: [PATCH] fix: cancel prevous running jobs --- .gitea/workflows/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d4c81be..a8ab8ee 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -15,6 +15,10 @@ on: - 'qt/**' - 'services/**' +# 1. Cancel previous runs if a new commit is pushed to the same branch +concurrency: + group: deploy-${{ github.ref }} + cancel-in-progress: true jobs: runs-on: hla-dev