From 9a87940fc6319fc855af5c6f4281425e370b5af8 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 12 Apr 2021 11:12:15 +0200 Subject: [PATCH] Use `rule` instead of `only` only/except will likely be deprecated: https://docs.gitlab.com/ee/ci/yaml/README.html#onlyexcept-basic --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2faeb820a3..da712a2dc5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,8 +32,8 @@ stages: Coverity: extends: .Debian - only: - - schedules + rules: + - if: '$CI_PIPELINE_SOURCE == "schedule"' before_script: - CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic - curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 --form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN