From fd7a48484d6571f009c770b83d45501aa7caed55 Mon Sep 17 00:00:00 2001 From: Libby Date: Tue, 10 Nov 2026 17:40:14 +0000 Subject: [PATCH] CI: concurrency group, no cancel on dispatch (#4) --- .github/workflows/portable-contracts.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/portable-contracts.yml b/.github/workflows/portable-contracts.yml index cc939f9..caf6e8d 100644 --- a/.github/workflows/portable-contracts.yml +++ b/.github/workflows/portable-contracts.yml @@ -8,6 +8,11 @@ on: pull_request: workflow_dispatch: +concurrency: + # A newer push or PR update replaces the older run on the same ref; workflow_dispatch runs are never cancelled. + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name != 'workflow_dispatch' }} + jobs: contracts-and-browser: name: ${{ matrix.os }} ${{ matrix.package }}