Commit 0ab89360 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

ci: disable semantic-release in cloned repositories

parent d39b163c
Loading
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -8,15 +8,14 @@ include:
  - project: "to-be-continuous/kicker"
    ref: "master"
    file: "/templates/validation.yml"
  - component: $CI_SERVER_FQDN/to-be-continuous/bash/gitlab-ci-bash@3.9
  - component: $CI_SERVER_FQDN/to-be-continuous/bash/gitlab-ci-bash@3
    inputs:
      shellcheck-files: "*.sh"
  - component: $CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@4.0
  - component: $CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@4
    inputs:
      # disable semrel for all synch'd repositories
      release-disabled: true
      auto-release-enabled: true

variables:
  GITLAB_CI_FILES: "templates/gitlab-ci-aws.yml"

semantic-release:
  rules:
    # on production branch(es): auto if SEMREL_AUTO_RELEASE_ENABLED
    - if: '$TMPL_RELEASE_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF'