Skip to content

Commit

Permalink
Add the concurrency setup to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Aug 17, 2023
1 parent 9a1ed90 commit c0bbd3e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ name: continuous-integration

on: [push, pull_request]

# https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
# only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

pre-commit:
Expand Down

0 comments on commit c0bbd3e

Please sign in to comment.