From 9eb044e91a004662d80d647d0682024fa4f5d74a Mon Sep 17 00:00:00 2001 From: DIYgod Date: Wed, 26 Mar 2025 12:19:49 +0800 Subject: [PATCH] chore: relax concurrency limits for non iOS builds --- .github/workflows/build-web.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-web.yml b/.github/workflows/build-web.yml index 28f19a528..8c94e92f5 100644 --- a/.github/workflows/build-web.yml +++ b/.github/workflows/build-web.yml @@ -6,7 +6,7 @@ on: name: CI Build web and SSR server concurrency: group: ${{ github.workflow }}-${{ github.ref }}-ssr - cancel-in-progress: true + cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }} jobs: build: name: Build web and SSR server diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91bf52acc..08c905338 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ on: # https://docs.github.com/en/enterprise-cloud@latest/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs concurrency: group: ${{ github.workflow }}-${{ github.ref }}-build - cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }} env: VITE_WEB_URL: ${{ vars.VITE_WEB_URL }} VITE_API_URL: ${{ vars.VITE_API_URL }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7c65fdfe2..31b218473 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ env: name: CI Format, Typecheck and Lint concurrency: group: ${{ github.workflow }}-${{ github.ref }}-lint - cancel-in-progress: true + cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }} jobs: build: name: Format, Lint and Typecheck