mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
refactor(ci): add concurrency (#1123)
* refactor(ci): add concurrency * fix(ci): concurrency group
This commit is contained in:
parent
94084a49e7
commit
4df749e142
6 changed files with 22 additions and 5 deletions
4
.github/workflows/commitlint.yml
vendored
4
.github/workflows/commitlint.yml
vendored
|
@ -4,6 +4,10 @@ on:
|
|||
pull_request:
|
||||
types: [opened, edited, synchronize, reopened]
|
||||
|
||||
concurrency:
|
||||
group: commitlint-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
lint-commits:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/deploy-dev.yml
vendored
3
.github/workflows/deploy-dev.yml
vendored
|
@ -4,10 +4,11 @@ on:
|
|||
push:
|
||||
branches: [ master ]
|
||||
|
||||
concurrency: deploy-dev
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
environment: dev
|
||||
concurrency: deploy-dev
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
6
.github/workflows/integration-test.yml
vendored
6
.github/workflows/integration-test.yml
vendored
|
@ -2,8 +2,10 @@ name: Integration Test
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
|
||||
concurrency:
|
||||
group: integration-test-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
package:
|
||||
|
|
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -1,10 +1,12 @@
|
|||
name: Main
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
|
||||
concurrency:
|
||||
group: main-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
main-build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
4
.github/workflows/update-pr-metadata.yml
vendored
4
.github/workflows/update-pr-metadata.yml
vendored
|
@ -6,6 +6,10 @@ on:
|
|||
pull_request:
|
||||
types: [opened, edited, synchronize, reopened]
|
||||
|
||||
concurrency:
|
||||
group: update-metadata-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
update-metadata:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
4
.github/workflows/upload-annotations.yml
vendored
4
.github/workflows/upload-annotations.yml
vendored
|
@ -6,6 +6,10 @@ on:
|
|||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
concurrency:
|
||||
group: upload-annotations-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
upload-annotations:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue