From 7776f74d7d4a7f29bc20e8106884eaa6342fb9ff Mon Sep 17 00:00:00 2001 From: Ahtisahm Shahid Date: Fri, 5 Jun 2026 17:48:57 +0500 Subject: [PATCH 1/2] :zap: Cancel stale CI runs when a new commit is pushed to the same PR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With a single self-hosted runner (penpot-runner-02) serving all jobs, queued runs from an earlier push can block the runner for the full 24-hour workflow timeout — causing downstream jobs that need build-integration to be skipped. Adding a per-ref concurrency group ensures any in-progress run is cancelled when a new push arrives, keeping the runner free for the latest commit. --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e4b2d49efc6..bff00ae4e8f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,5 +1,9 @@ name: "CI" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + defaults: run: shell: bash From 8ca7201cfc3fc0d4036c8ff4fad71abaff790ed5 Mon Sep 17 00:00:00 2001 From: Ahtisahm Shahid Date: Fri, 5 Jun 2026 17:52:37 +0500 Subject: [PATCH 2/2] =?UTF-8?q?Revert=20duplicate=20concurrency=20block=20?= =?UTF-8?q?=E2=80=94=20one=20was=20already=20present?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bff00ae4e8f..e4b2d49efc6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,9 +1,5 @@ name: "CI" -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - defaults: run: shell: bash