Skip to content

Instantly share code, notes, and snippets.

@mercuriete
Created April 13, 2021 09:02
Show Gist options
  • Save mercuriete/1065bc19544a45065bf8bab9d6bcd248 to your computer and use it in GitHub Desktop.
Save mercuriete/1065bc19544a45065bf8bab9d6bcd248 to your computer and use it in GitHub Desktop.
.renovate-template:
variables:
RENOVATE_GIT_AUTHOR: "${GITLAB_USER_NAME} <${GITLAB_USER_EMAIL}>"
RENOVATE_DRY_RUN: "false"
RENOVATE_LOG_LEVEL: "info"
image:
name: node:12
entrypoint: [""]
only:
- schedules
before_script:
- npm install --global renovate
script:
- >
renovate
--platform "gitlab"
--endpoint "${CI_API_V4_URL}"
--git-author "${RENOVATE_GIT_AUTHOR}"
--dry-run "${RENOVATE_DRY_RUN}"
--log-level "${RENOVATE_LOG_LEVEL}"
--token "${RENOVATE_TOKEN}"
--git-lab-automerge "true"
--rebase-when "behind-base-branch"
"${CI_PROJECT_PATH}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment