mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
CI: fix reprepro step on main from forks
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2234>
This commit is contained in:
parent
335960d1ad
commit
df5c052833
|
@ -40,12 +40,8 @@ stages:
|
|||
# Extra rules for packaging
|
||||
.monado.packaging.conditions:
|
||||
rules:
|
||||
# Only the default branch of the "upstream" repo.
|
||||
- if: "$CI_PROJECT_PATH == $FDO_UPSTREAM_REPO && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH"
|
||||
when: on_success
|
||||
# Otherwise, don't build packages.
|
||||
- when: never
|
||||
|
||||
# Only the default branch of the "upstream" repo on push.
|
||||
- if: $CI_PROJECT_PATH == $FDO_UPSTREAM_REPO && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"
|
||||
|
||||
###
|
||||
###
|
||||
|
|
|
@ -55,12 +55,8 @@ stages:
|
|||
# Extra rules for packaging
|
||||
.monado.packaging.conditions:
|
||||
rules:
|
||||
# Only the default branch of the "upstream" repo.
|
||||
- if: "$CI_PROJECT_PATH == $FDO_UPSTREAM_REPO && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH"
|
||||
when: on_success
|
||||
# Otherwise, don't build packages.
|
||||
- when: never
|
||||
|
||||
# Only the default branch of the "upstream" repo on push.
|
||||
- if: $CI_PROJECT_PATH == $FDO_UPSTREAM_REPO && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"
|
||||
|
||||
{% include 'include.win_containers.yml' %}
|
||||
{% include 'include.ci-containers-variables.yml.jinja' %}
|
||||
|
|
Loading…
Reference in a new issue