Skip to content

Commit

Permalink
Cancel builds when a new one is scheduled
Browse files Browse the repository at this point in the history
  • Loading branch information
mhalbritter committed Feb 5, 2024
1 parent 3831e19 commit 93bd11f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build and deploy
Expand Down

0 comments on commit 93bd11f

Please sign in to comment.