mirror of https://github.com/astral-sh/ruff
Cancel outdated in-progress workflow automatically (#1652)
This commit is contained in:
parent
fb8024a6ac
commit
6a1edeb694
|
|
@ -6,6 +6,10 @@ on:
|
|||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
CARGO_INCREMENTAL: 0
|
||||
CARGO_NET_RETRY: 10
|
||||
|
|
|
|||
Loading…
Reference in New Issue