fix: cancel in-progress workflows for concurrency deployment groups

This commit is contained in:
Karol Sójko
2021-12-29 20:55:22 +01:00
parent f3d52e9d56
commit d383f2f804
2 changed files with 8 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
name: Dev
concurrency:
group: dev_environment
cancel-in-progress: true
on:
push:
branches: [ develop ]

View File

@@ -1,5 +1,9 @@
name: Prod
concurrency:
group: prod_environment
cancel-in-progress: true
on:
push:
branches: [ main ]