From c37af5c2da83f268f2b7eec62fbc836810d7d694 Mon Sep 17 00:00:00 2001 From: Salvydas Lukosius Date: Tue, 26 May 2026 00:33:38 +0100 Subject: [PATCH] ci(workflows): add concurrency to win-install and deploy-gh-pages ZSH-1 perms/concurrency sweep: add concurrency groups to cancel stale runs. deploy-gh-pages uses cancel-in-progress: false so in-flight deploys complete. --- .github/workflows/deploy-gh-pages.yml | 4 ++++ .github/workflows/win-install.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index 1e397c9..698eea4 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -13,6 +13,10 @@ on: permissions: contents: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: false + jobs: deploy: if: github.repository == 'z-shell/src' diff --git a/.github/workflows/win-install.yml b/.github/workflows/win-install.yml index 0d2ae7c..580eda5 100644 --- a/.github/workflows/win-install.yml +++ b/.github/workflows/win-install.yml @@ -19,6 +19,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: shellcheck: runs-on: ubuntu-latest