Skip to content

Commit

Permalink
make build workflow cancel upon new push
Browse files Browse the repository at this point in the history
  • Loading branch information
kkohbrok committed Aug 3, 2023
1 parent c83ae45 commit 19d1095
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

name: Rust

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

on:
push:
branches: ["main"]
Expand Down

0 comments on commit 19d1095

Please sign in to comment.