Skip to content

Commit 3f1f0dd

Browse files
committed
Limit build execution for multiple fast pushes.
1 parent d2de94c commit 3f1f0dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
- develop
66
- master
77
push:
8+
# If multiple pushes happen quickly in succession, cancel the running build and
9+
# start a new one.
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
813
jobs:
914
# Linting
1015
dotnet-format:

0 commit comments

Comments
 (0)