Skip to content

Commit

Permalink
chore: add concurrency rules to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
itsacoyote committed Jun 4, 2024
1 parent f740dae commit 89ecc27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ env:
HUSKY: 0
CI: true

concurrency:
group: production
cancel-in-progress: true

jobs:
build_and_deploy:
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ env:
HUSKY: 0
CI: true

concurrency:
group: staging
cancel-in-progress: true

jobs:
build_and_deploy:
env:
Expand Down

0 comments on commit 89ecc27

Please sign in to comment.