Skip to content

Commit d0673dc

Browse files
authored
cancel outdated jobs for the same reference (#263)
1 parent ef7ba04 commit d0673dc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ on:
1010
branches:
1111
- master
1212

13+
# cancel outdated jobs for the same reference
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1318
env:
1419
IMAGE : ${{ github.repository_owner }}/openstreetmap-tile-server
1520
TAG : ${{ github.sha }}

0 commit comments

Comments
 (0)