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