From 2650f87a679beae579baecb788ea05475797552b Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Sun, 15 Dec 2024 10:13:59 +0200 Subject: [PATCH] ci: cancel in progress jobs --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 001a777..d4b8f4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '17 3 * * 0' +concurrency: + group: ${{ github.head_ref || github.ref_name }} + cancel-in-progress: true + jobs: ruff: name: Ruff