From 9d4318793fa6f27359d164ec379864d44af589a9 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Fri, 22 Nov 2024 18:14:30 -0600 Subject: [PATCH] Limit PR concurrency --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33f83314..eba95671 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