Skip to content

Commit

Permalink
feat: Cancel previous workflow on push (#132)
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Csati <[email protected]>
  • Loading branch information
csatib02 authored Feb 22, 2024
1 parent ad78334 commit 8f6102b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
permissions:
contents: read

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

jobs:
build:
name: Build
Expand Down

0 comments on commit 8f6102b

Please sign in to comment.