Skip to content

Commit

Permalink
Cancel existing CI runs if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
ciriousjoker committed Aug 8, 2024
1 parent 1a748b1 commit 164f3c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: test

on: [push]

# Cancel previous builds by only allowing one concurrent build per ref.
concurrency:
group: die-ringe-app-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: Test
Expand Down

0 comments on commit 164f3c2

Please sign in to comment.