Skip to content

Commit 3cf11ed

Browse files
committed
test: add concurrency check
1 parent e6783f6 commit 3cf11ed

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/test_pipeline_custom.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: [main]
66
types: [synchronize, opened, reopened]
77

8+
concurrency: # Cancel previous workflows on the same pull request
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
env:
913
NXF_SYNTAX_PARSER: v1
1014

.github/workflows/test_pipeline_default.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on:
44
pull_request:
55
branches: [main]
66
types: [synchronize, opened, reopened]
7-
7+
8+
concurrency: # Cancel previous workflows on the same pull request
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
env:
913
NXF_SYNTAX_PARSER: v1
1014

.github/workflows/test_pipeline_spikeinterface.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on:
44
pull_request:
55
branches: [main]
66
types: [synchronize, opened, reopened]
7-
7+
8+
concurrency: # Cancel previous workflows on the same pull request
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
env:
913
NXF_SYNTAX_PARSER: v1
1014

0 commit comments

Comments
 (0)