to prevent runaway job creation

This commit is contained in:
Joey Kimsey
2024-08-12 23:24:33 -04:00
parent ea30628ef8
commit 14f8f134bc

View File

@ -28,6 +28,8 @@ variables:
composer_update: composer_update:
stage: update stage: update
rules:
- if: '$CI_COMMIT_BRANCH == "main"'
image: composer:latest image: composer:latest
interruptible: true # allows to stop the job if a newer pipeline starts, saving resources and allowing new jobs to start because job concurrency is limited interruptible: true # allows to stop the job if a newer pipeline starts, saving resources and allowing new jobs to start because job concurrency is limited
script: script: