Skip to content

Commit

Permalink
Cancel outdated in-progress workflow automatically (#1652)
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Jan 5, 2023
1 parent fb8024a commit 6a1edeb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Expand Up @@ -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
Expand Down

0 comments on commit 6a1edeb

Please sign in to comment.