Skip to content

SpaceSkills/renovate-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Space Skills Standardised Renovate Configs

This repository holds some standard configurations for Renovate, our preferred dependency update bot.

Behaviour

Default

The default config (default.json) is intended as a good starting point for any repository. It implements the following behaviours:

  • Creates a "Dependency Dashboard" issue for the repository, for tracking the state of updates and triggering some behaviours
  • Automatically merges patch updates to all dependencies between 10am and 4pm
  • Automatically merges updates from linters and testing tools. Note that the definitions for these packages are not exhaustive, so some linters and testers will still have PRs opened as normal.
  • Opens a PR for all updates, and requires all tests to pass
  • Requires all major updates to have a PR explicitly opened via the Dependency Dashboard
  • Waits three days following a package release before opening PRs (to allow time for broken versions to be yanked)
    • For NPM packages (which have a higher churn), waits five days.
  • Automatically merges minor updates, as well as patch
  • Combines patch updates and minor updates into a single pull request

How to use

  1. Install the Renovate app for the repository, if not already installed.
  2. Update the renovate.json file to extend our standard configuration:
    {
      "$schema": "https://docs.renovatebot.com/renovate-schema.json",
      "extends": ["github>spaceskills/renovate-config"]
    }
    If this is a new installation of Renovate then it will automatically open a new PR for this file.
  3. Consider if these presets meet the needs of the repository. These are not intended to be prescriptive, just a starting point. If you need to, change any other configuration options specific to the repository.
  4. If a new installation, merge the Renovate configuration PR.
  5. If you have branch protection turned on and it requires reviews, make sure you either bypass protections for Renovate or install renovate-approve. The recommended path is to use the bypass protections unless you need approvals for another workflow.

Things to be aware of

By default, this configuration will use GitHub's own automerging behaviour. This will merge a branch once all required actions have passed, so you should make sure that test suites etc are configured correctly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published