Skip to content

Commit

Permalink
cancel outdated jobs for the same reference (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
Istador authored Apr 9, 2022
1 parent ef7ba04 commit d0673dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
branches:
- master

# cancel outdated jobs for the same reference
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
IMAGE : ${{ github.repository_owner }}/openstreetmap-tile-server
TAG : ${{ github.sha }}
Expand Down

0 comments on commit d0673dc

Please sign in to comment.