diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9860b18..2952fb1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,8 @@ variables: composer_update: stage: update + rules: + - if: '$CI_COMMIT_BRANCH == "main"' 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 script: