diff options
author | Jordan Petridis <jpetridis@gnome.org> | 2020-04-30 19:11:25 +0300 |
---|---|---|
committer | Jordan Petridis <jpetridis@gnome.org> | 2020-04-30 19:14:04 +0300 |
commit | 3d2792a1c385ec0bc95d1f5b995678457a73ffe6 (patch) | |
tree | c2ac502412e98a847c307b91350f004468486c4f /.gitlab-ci.yml | |
parent | 4cba9d1e53a12a537899a71569fa85c4c96e2c52 (diff) |
ci: replace only clause with rules
only/except is deprecated and going to be removed
from future versions of gitlab.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe5e7684..a4ae0dc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -164,8 +164,8 @@ clippy: deny: extends: .img-stable stage: 'extras' - only: - - schedules + rules: + - if: '$CI_PIPELINE_SOURCE == "schedule"' script: - cargo deny check @@ -173,7 +173,7 @@ outdated: extends: .img-stable allow_failure: true stage: 'extras' - only: - - schedules + rules: + - if: '$CI_PIPELINE_SOURCE == "schedule"' script: - cargo outdated --root-deps-only --exit-code 1 -v |