Skip to content

Commit

Permalink
Merge pull request #243 from python-desert/cancel_old_pr_runs
Browse files Browse the repository at this point in the history
cancel old pr runs on new push
  • Loading branch information
altendky committed Nov 23, 2022
2 parents ca7b924 + 61cb333 commit 0c43ff5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- v*
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.sha || '' }}
cancel-in-progress: true

jobs:
ci:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0c43ff5

Please sign in to comment.