Skip to content

Commit

Permalink
ci: cancel existing jobs on push
Browse files Browse the repository at this point in the history
  • Loading branch information
samcowger committed Nov 1, 2024
1 parent f079157 commit a0f90de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/server-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
branches:
- main

# Cancel in-progress job when a new push is performed
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
strategy:
Expand Down

0 comments on commit a0f90de

Please sign in to comment.