Skip to content

Commit

Permalink
[devops/#1514] add concurrency logic to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nevinsm committed May 24, 2024
1 parent ca56197 commit e41e9c9
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.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

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

jobs:
build_deploy:
name: Build and Deploy
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
tags:
- 'v*' # Create release for any tag starting with 'v'

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

jobs:
release:
name: Create GitHub Release
Expand Down

0 comments on commit e41e9c9

Please sign in to comment.