Skip to content

Commit 3f38853

Browse files
markpollackscionaltera
authored andcommitted
Fix continuous-integration.yml concurrency control
Set cancel-in-progress to true so new builds skip when one is already running, rather than queuing. This is more efficient since cron triggers occur every few hours anyway. Signed-off-by: Mark Pollack <[email protected]>
1 parent fdf3002 commit 3f38853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
if: ${{ github.repository_owner == 'spring-projects' }}
3232
concurrency:
3333
group: continuous-integration-${{ github.ref }}
34-
cancel-in-progress: false # Don't cancel running builds - let them complete
34+
cancel-in-progress: true # Skip if another build is running - next cron will trigger soon
3535
services:
3636
ollama:
3737
image: ollama/ollama:latest

0 commit comments

Comments
 (0)