summaryrefslogtreecommitdiff
path: root/ci/gitlab/sanity-checks.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/gitlab/sanity-checks.yml')
-rw-r--r--ci/gitlab/sanity-checks.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/gitlab/sanity-checks.yml b/ci/gitlab/sanity-checks.yml
index cdcfb9b..d2b1768 100644
--- a/ci/gitlab/sanity-checks.yml
+++ b/ci/gitlab/sanity-checks.yml
@@ -8,7 +8,7 @@
check-dco:
stage: sanity_checks
needs: []
- image: registry.gitlab.com/libvirt/libvirt-ci/check-dco:master
+ image: registry.gitlab.com/libvirt/libvirt-ci/check-dco:latest
interruptible: true
script:
- /check-dco "$RUN_UPSTREAM_NAMESPACE"
@@ -17,9 +17,11 @@ check-dco:
- if: '$CI_PIPELINE_SOURCE =~ "merge_request_event"'
when: on_success
- # forks: pushes to branches with pipeline requested
+ # forks: pushes to branches with pipeline requested (including upstream env pipelines)
- if: '$CI_PROJECT_NAMESPACE != $RUN_UPSTREAM_NAMESPACE && $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH && $RUN_PIPELINE'
when: on_success
+ - if: '$CI_PROJECT_NAMESPACE != $RUN_UPSTREAM_NAMESPACE && $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH && $RUN_PIPELINE_UPSTREAM_ENV'
+ when: on_success
# upstream+forks: that's all folks
- when: never