Skip to content

Commit

Permalink
Cancels jobs running if new commits are pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Dec 18, 2024
1 parent 3eaecc5 commit e88fabb
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: '30 3 * * 1'

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 e88fabb

Please sign in to comment.