Skip to content

Commit

Permalink
Merge pull request #162 from hugovk/cancel-in-progress
Browse files Browse the repository at this point in the history
Add concurrency so old workflows are cancelled in favour of newer runs
  • Loading branch information
radarhere committed Nov 4, 2022
2 parents 4591bf5 + 4dc35dd commit 0ee33ea
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 @@ -3,6 +3,10 @@ name: Docker images

on: [push, pull_request, workflow_dispatch]

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

jobs:
build:
name: ${{ matrix.target }} + ${{ matrix.image }}
Expand Down

0 comments on commit 0ee33ea

Please sign in to comment.