diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a83fa32df..c8a5726c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,9 +14,9 @@ # run only if manually started to save CI minutes if # # GitLab hosted runners # # * For commits to the CalcProgrammer1/OpenRGB repository, # -# automatically run all jobs on the default branch, # -# otherwise run them if the source is part of a merge # -# request # +# automatically run all jobs on the default branch or # +# tag builds, otherwise run them if the source is part # +# of a merge request # #-----------------------------------------------------------# .downstream_rules: rules: @@ -26,7 +26,7 @@ .upstream_rules: rules: - - if: '$CI_PROJECT_PATH == "CalcProgrammer1/OpenRGB" && ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_PIPELINE_SOURCE == "merge_request_event")' + - if: '$CI_PROJECT_PATH == "CalcProgrammer1/OpenRGB" && ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "merge_request_event")' when: on_success - !reference [.downstream_rules, rules]