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 14, 2024
1 parent c567587 commit 758095f
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 758095f

Please sign in to comment.