Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Renovate to handle dependency updates at organization-level #7

Open
JamieMagee opened this issue Feb 22, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@JamieMagee
Copy link

Description

Currently dependency update configuration is handled at the repository level using Dependabot configuration. This means that:

  1. Dependency update tooling isn't enforced across all repositories in the sigstore organisation

    Dependency update tools are recommended by OSSF scorecard1

  2. There's a lot of manual effort going on to update dependencies that Dependabot doesn't handle

    For example this commit updating versions in helm charts can be done by Renovate. Our own helm-charts2 are maintained this way.

I'm suggesting an organization-level configuration3 for Renovate, with repository level configuration overrides where required. It can evolve and grow over time to better fit the needs of sigstore maintainers, but a simple example might look like:

`sigstore/.github/default.json`
{
	"$schema": "https://docs.renovatebot.com/renovate-schema.json",
	"description": "Default preset for use with sigstore's repositories",
	"extends": ["config:base"]
}

In this repository, with renovate.json files in each individual repository that refer back to the organization-level configuration like so:

`sigstore/.github/default.json`
{
	"$schema": "https://docs.renovatebot.com/renovate-schema.json",
	"extends": ["github>sigstore/.github"],
}

I am happy to implement this, and narrow down a config that fits your existing workflow, if this would be a welcome contribution 😅

References

Repos that currently have Dependabot configured

Footnotes

  1. https://github.com/ossf/scorecard/blob/38be00c31f4f078120219ec3aaa76560835199fb/docs/checks.md?plain=1#L293-L295

  2. https://github.com/renovatebot/helm-charts/commit/d7505047211d5c20d7c73e4bf5cb0361c92bd615

  3. https://docs.renovatebot.com/config-presets/#organization-level-presets

@JamieMagee JamieMagee added the enhancement New feature or request label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant