Skip to content

Commit

Permalink
ci: cancel in-progress GitHub Actions workflow on repeated pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Jul 30, 2023
1 parent c28bc79 commit 8eb22f0
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 @@ -12,6 +12,10 @@ on:
- "**.rst"
- "Docs/**"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
tests:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 8eb22f0

Please sign in to comment.