Skip to content

Commit

Permalink
Add concurrency to cancel duplicate workflow runs
Browse files Browse the repository at this point in the history
We shouldn't continue with building the full suite of assets if there has been changes to the feature branch.
  • Loading branch information
nywilken committed Aug 13, 2024
1 parent 1fb5b20 commit 8da86e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
- release/**
- feature/**

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

env:
REPO_NAME: "packer"

Expand Down

0 comments on commit 8da86e3

Please sign in to comment.