diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0ea9c5c..9d8816a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,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: