feat: add concurrency

This commit is contained in:
wancat committed 2023-11-19 14:56:10 +08:00
1 parent 2028075240
commit 521cf46929
3 files changed
+12

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ on:
tags: tags:
- 'v*' - 'v*'
concurrency:
group: production
cancel-in-progress: true
jobs: jobs:
ci-checks: ci-checks:
uses: ./.github/workflows/ci-checks.yml uses: ./.github/workflows/ci-checks.yml
+4
View File
@@ -3,6 +3,10 @@ name: Pull Request Workflow
on: on:
pull_request: pull_request:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
ci-checks: ci-checks:
uses: ./.github/workflows/ci-checks.yml uses: ./.github/workflows/ci-checks.yml
+4
View File
@@ -5,6 +5,10 @@ on:
branches: branches:
- main - main
concurrency:
group: staging
cancel-in-progress: true
jobs: jobs:
ci-checks: ci-checks:
uses: ./.github/workflows/ci-checks.yml uses: ./.github/workflows/ci-checks.yml