From d997dac097325d08721f8700dba7d7222eff8392 Mon Sep 17 00:00:00 2001 From: Salvydas Lukosius Date: Tue, 26 May 2026 00:36:03 +0100 Subject: [PATCH] ci(workflows): add concurrency groups to test and lint workflows ZSH-1 perms/concurrency sweep: add concurrency to test-native, test-matrix, and zsh-n so stale runs cancel. These are standalone workflows (not workflow_call), so top-level concurrency is correct. --- .github/workflows/test-matrix.yml | 4 ++++ .github/workflows/test-native.yml | 4 ++++ .github/workflows/zsh-n.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/test-matrix.yml b/.github/workflows/test-matrix.yml index 8e77a28..91710ab 100644 --- a/.github/workflows/test-matrix.yml +++ b/.github/workflows/test-matrix.yml @@ -9,6 +9,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: zunit-matrix: runs-on: ubuntu-latest diff --git a/.github/workflows/test-native.yml b/.github/workflows/test-native.yml index fdd87d7..2e7e629 100644 --- a/.github/workflows/test-native.yml +++ b/.github/workflows/test-native.yml @@ -13,6 +13,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: zunit: runs-on: ubuntu-latest diff --git a/.github/workflows/zsh-n.yml b/.github/workflows/zsh-n.yml index b48da92..48c42ae 100644 --- a/.github/workflows/zsh-n.yml +++ b/.github/workflows/zsh-n.yml @@ -11,6 +11,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: zsh-n: runs-on: ubuntu-latest