Skip to content

Commit

Permalink
chore(ci): use concurrency for ci
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Shatford <[email protected]>
  • Loading branch information
jordanshatford committed Apr 2, 2024
1 parent 820e35e commit 8da2899
Show file tree
Hide file tree
Showing 2 changed files with 8 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 @@ -7,6 +7,10 @@ on:
pull_request:
workflow_dispatch:

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

jobs:
ci:
name: CI (Lint, Check, Build)
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
pull_request:

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

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

0 comments on commit 8da2899

Please sign in to comment.