Home of the Renovate CLI: Cross-platform Dependency Automation by Mend.io
Find a file
Rhys Arkins 8fc97af5c7 feat: Ignore forked repositories unless already configured (#561)
This feature is particularly useful in the case that renovate is enabled on all repositories a user/account has. Many of those might be forks, and it makes no sense to renovate those by default. Instead, Renovate will skip over forked repositories unless a renovate.json has been added to their root.
Also, Renovate will now prune branches after deciding to skip a repository, whether because of a fork or disablement.

Closes #541
2017-07-30 22:59:53 +02:00
bin feat(yarn): Use embedded yarn version (#510) 2017-07-21 08:47:05 +02:00
docs feat: add 'patch' option to automerge (#539) 2017-07-27 22:17:28 +02:00
lib feat: Ignore forked repositories unless already configured (#561) 2017-07-30 22:59:53 +02:00
test feat: Ignore forked repositories unless already configured (#561) 2017-07-30 22:59:53 +02:00
.editorconfig Add editorconfig 2017-01-15 17:23:34 +01:00
.eslintrc.js Use es5 trailing commas (#183) 2017-04-21 10:25:49 +02:00
.gitattributes Add .gitattributes 2017-01-15 17:25:51 +01:00
.gitignore chore: re-enable jest cache (#400) 2017-06-30 16:02:40 +02:00
.npmignore feat(yarn): Use embedded yarn version (#510) 2017-07-21 08:47:05 +02:00
circle.yml fix: Remove yarn version from package.json (#446) 2017-07-05 18:12:58 +02:00
contributing.md Use Prettier (#181) 2017-04-21 10:12:41 +02:00
license Add license file 2017-01-15 17:27:41 +01:00
package.json chore(deps): Update dependency eslint to version 4.3.0 (#396) 2017-07-26 08:27:38 +02:00
Procfile Replace npm run/test with yarn run/test (#182) 2017-04-21 09:46:41 +02:00
readme.md chore: Add David and Renovate badges (#546) 2017-07-28 07:39:29 +02:00
yarn.lock chore(deps): Update dependency eslint to version 4.3.0 (#396) 2017-07-26 08:27:38 +02:00

Renovate banner

renovate

Keep npm dependencies up-to-date.

GitHub license codecov Join the chat at https://gitter.im/renovate-app/Lobby David Renovate enabled

Why

  • Creates or updates Pull Requests for each dependency that needs updating
  • Discovers and processes all package.json files in repository (supports monorepo architecture)
  • Supports multiple major versions per-dependency at once
  • Configurable via file, environment, CLI, and package.json
  • Supports yarn.lock and package-lock.json files
  • Supports GitHub and GitLab
  • Open source and can be self-hosted

GitHub App

Renovate is now available as a free GitHub "App". Go to https://github.com/apps/renovate to enable it now.

Install

$ npm install -g renovate

Authentication

You need to select a repository user for renovate to assume the identity of, and generate a Personal Access Token. It's recommended that you use a dedicated "bot" account for this to avoid user confusion.

You can find instructions for GitHub here (select "repo" permissions)

You can find instructions for GitLab here.

This token needs to be configured via file, environment variable, or CLI. See docs/configuration.md for details. The simplest way is to expose it as GITHUB_TOKEN or GITLAB_TOKEN.

Usage

Run renovate --help for usage details.

Note: The first time you run renovate on a repository, it will not upgrade any dependencies. Instead, it will create a Pull Request (Merge Request if GitLab) called 'Configure Renovate' and commit a default renovate.json file to the repository. This PR can be close unmerged if the default settings are fine for you. Also, this behaviour can be disabled if you set the onboarding configuration option to false before running.

Deployment

See deployment docs for details.

Configuration

The Configuration and Configuration FAQ documents should be helpful.

Design Decisions

See design decisions doc for details.