Unverified Commit b62c04e4 authored by Michael Kriese's avatar Michael Kriese
Browse files

ci: fix schedule condition

parent e2f8c4df
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -13,13 +13,14 @@ workflow:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
    - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"
      when: never
    - if: $CI_PIPELINE_SOURCE == "schedule"
      when: never
    - if: $CI_COMMIT_BRANCH

renovate:dry-run:
  script:
    - renovate --dry-run=full $RENOVATE_EXTRA_FLAGS
  rules:
    - if: $CI_PIPELINE_SOURCE == "schedule"
      when: never

lint:
  image: renovate/node:16.15.0@sha256:5b1d9a1e9de40425e8b0c73a82bcd693b16b4677d6297978d6951e4f6b014464
@@ -33,6 +34,9 @@ lint:
    - npm ci --cache .npm --prefer-offline
  script:
    - npm run prettier
  rules:
    - if: $CI_PIPELINE_SOURCE == "schedule"
      when: never

release:
  image: renovate/node:16.15.0@sha256:5b1d9a1e9de40425e8b0c73a82bcd693b16b4677d6297978d6951e4f6b014464
@@ -49,4 +53,6 @@ release:
    - git config --global --add safe.directory $PWD
    - npx --no-install semantic-release
  rules:
    - if: $CI_PIPELINE_SOURCE == "schedule"
      when: never
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH