Skip to content

Commit

Permalink
add cancellation of concurrent jobs on new push
Browse files Browse the repository at this point in the history
  • Loading branch information
tommbendall authored Dec 20, 2024
1 parent 204b3f2 commit 9f9fc75
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ on:
# Scheduled build at 0330 UTC on Monday mornings to detect bitrot.
- cron: '0 3 * * 2'

concurrency:
# Cancels jobs running if new commits are pushed
group: >
${{ github.workflow }}-
${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
name: "Build Gusto"
Expand Down

0 comments on commit 9f9fc75

Please sign in to comment.