Skip to content

Commit 83d9037

Browse files
amotlsurister
authored andcommitted
CI: Cancel redundant workflow runs
Each push operation to a feature branch would regularly trigger a CI workflow run. When quickly pushing in succession, the previous runs become redundant and obsolete instantly, so let's cancel them.
1 parent f03a6a4 commit 83d9037

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
release:
88
types: [published]
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
1013

1114
jobs:
1215
build:

0 commit comments

Comments
 (0)