From 4e8c3180be5ddda68e1bf79c38eb10429afeabed Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Wed, 23 Jun 2021 16:59:34 -0500 Subject: [PATCH] fix: Only run dependabot on schedule --- .gitlab-ci.yml | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 11e4f91c..84b9c41a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,68 +123,68 @@ deploy_commit_image_to_tag: - cd /home/dependabot/app script: - bundle exec rake "dependabot:update[$CI_PROJECT_PATH,$PACKAGE_MANAGER,$DIRECTORY]" - # only: - # - schedules + only: + - schedules npm-release-tools: extends: .dependabot_gitlab variables: DIRECTORY: "/" PACKAGE_MANAGER: javascript - # only: - # variables: - # - $PACKAGE_MANAGER_SET =~ /(\bnpm|yarn\b)/ + only: + variables: + - $PACKAGE_MANAGER_SET =~ /(\bnpm|yarn\b)/ npm-assets: extends: .dependabot_gitlab variables: DIRECTORY: "/apps/app/assets" PACKAGE_MANAGER: javascript - # only: - # variables: - # - $PACKAGE_MANAGER_SET =~ /(\bnpm|yarn\b)/ + only: + variables: + - $PACKAGE_MANAGER_SET =~ /(\bnpm|yarn\b)/ mix-admin: extends: .dependabot_gitlab variables: DIRECTORY: "/apps/admin" PACKAGE_MANAGER: "elixir:hex" - # only: - # variables: - # - $PACKAGE_MANAGER_SET =~ /\bmix\b/ + only: + variables: + - $PACKAGE_MANAGER_SET =~ /\bmix\b/ mix-app: extends: .dependabot_gitlab variables: DIRECTORY: "/apps/app" PACKAGE_MANAGER: "elixir:hex" - # only: - # variables: - # - $PACKAGE_MANAGER_SET =~ /\bmix\b/ + only: + variables: + - $PACKAGE_MANAGER_SET =~ /\bmix\b/ mix-core: extends: .dependabot_gitlab variables: DIRECTORY: "/apps/core" PACKAGE_MANAGER: "elixir:hex" - # only: - # variables: - # - $PACKAGE_MANAGER_SET =~ /\bmix\b/ + only: + variables: + - $PACKAGE_MANAGER_SET =~ /\bmix\b/ mix-content: extends: .dependabot_gitlab variables: DIRECTORY: "/apps/content" PACKAGE_MANAGER: "elixir:hex" - # only: - # variables: - # - $PACKAGE_MANAGER_SET =~ /\bmix\b/ + only: + variables: + - $PACKAGE_MANAGER_SET =~ /\bmix\b/ docker: extends: .dependabot_gitlab variables: DIRECTORY: "/" PACKAGE_MANAGER: docker - # only: - # variables: - # - $PACKAGE_MANAGER_SET =~ /\bdocker\b/ + only: + variables: + - $PACKAGE_MANAGER_SET =~ /\bdocker\b/