From c178fb1f44a6b32c61aad1f57b26a11d5921f2e2 Mon Sep 17 00:00:00 2001 From: Marty Oehme <contact@martyoeh.me> Date: Sat, 8 Mar 2025 17:24:36 +0100 Subject: [PATCH] Allow concurrent build jobs but not deploys --- .github/workflows/build.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 72fad00..94de496 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,10 +10,6 @@ on: - 'srcpkgs/**' - '.github/**' # for easier debugging -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - jobs: changedpkgs: name: Check package changes @@ -142,6 +138,9 @@ jobs: name: Deploy repository runs-on: ubuntu-latest needs: [ build ] + concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-deployment + cancel-in-progress: false if: "github.ref == 'refs/heads/main' && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')" container: