fix(ci): concurrency group

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-10-28 22:28:56 +08:00
parent 94b097fd25
commit fb0152eaec
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ on:
name: CI Build web and SSR server
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-ssr
cancel-in-progress: true
jobs:
build:

View File

@ -13,7 +13,7 @@ on:
required: true
# 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 }}
group: ${{ github.workflow }}-${{ github.ref }}-build
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
VITE_WEB_URL: ${{ vars.VITE_WEB_URL }}

View File

@ -5,7 +5,7 @@ on:
name: CI Format, Typecheck and Lint
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-lint
cancel-in-progress: true
jobs:
build: