Skip to content

Commit

Permalink
ci: use GHA concurrency group (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut authored Feb 12, 2022
1 parent c3357ae commit bc524d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:
pre-commit:
name: Pre-commit checks (Black, Flake8, MyPy, ...)
Expand Down

0 comments on commit bc524d6

Please sign in to comment.