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 Sep 13, 2024
1 parent 9ff6fe7 commit 57739d9
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 57739d9

Please sign in to comment.