Skip to content

Commit 69fcb0c

Browse files
committed
use concurrency
1 parent 2ec942d commit 69fcb0c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/main.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@ on:
66
pull_request:
77
branches: [main, master]
88

9-
jobs:
10-
cleanup:
11-
name: Cancel Previous Runs
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: styfle/[email protected]
15-
with:
16-
access_token: ${{ github.token }}
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
1712

13+
jobs:
1814
pytest:
1915
name: ${{ matrix.os }} r-${{ matrix.r }} py-${{ matrix.python }}
2016
strategy:

0 commit comments

Comments
 (0)