Skip to content

Commit 809ce1a

Browse files
committed
Add concurrency check (space-ros#225)
1 parent 4b7f867 commit 809ce1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/earthly-build.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
schedule:
99
- cron: "0 11 * * *"
1010

11+
# Ensures that only one workflow per branch will run at a time
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
14+
cancel-in-progress: true
15+
1116
env:
1217
VCS_REF: ${{ github.sha }}
1318
GHCR_IMAGE_NAME: "ghcr.io/space-ros/space-ros"

0 commit comments

Comments
 (0)