Skip to content

Commit 47b1afa

Browse files
Cancel older builds on GH Actions (#2215)
1 parent 66b4b6b commit 47b1afa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ on:
2323
tags:
2424
description: "Test scenario tags"
2525

26+
concurrency:
27+
# older builds for the same pull request numer or branch should be cancelled
28+
cancel-in-progress: true
29+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
30+
2631
jobs:
2732
lint:
2833
name: Check linting

0 commit comments

Comments
 (0)