fix: cancel in-progress workflows for concurrency deployment groups
This commit is contained in:
4
.github/workflows/dev.yml
vendored
4
.github/workflows/dev.yml
vendored
@@ -1,5 +1,9 @@
|
|||||||
name: Dev
|
name: Dev
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: dev_environment
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ develop ]
|
branches: [ develop ]
|
||||||
|
|||||||
4
.github/workflows/prod.yml
vendored
4
.github/workflows/prod.yml
vendored
@@ -1,5 +1,9 @@
|
|||||||
name: Prod
|
name: Prod
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: prod_environment
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|||||||
Reference in New Issue
Block a user