Skip to content

Commit 10cd901

Browse files
committed
setup concurrency
1 parent 985d860 commit 10cd901

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/flaky-test-detector.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ env:
1313
nx-Linux-${{ github.ref }}
1414
nx-Linux
1515
16+
# Cancel in progress workflows on pull_requests.
17+
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
20+
cancel-in-progress: true
21+
1622
jobs:
1723
flaky-detector:
1824
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)