Skip to content

Commit

Permalink
Use hosted presets in base Renovate config (#35)
Browse files Browse the repository at this point in the history
* Update changelog to stage 0.3.9

* Update base renovate config to inherit from hosted presets

* Add note about renovate preset config
  • Loading branch information
lelia authored Nov 8, 2022
1 parent dde8560 commit 0b37599
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 26 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### TBA

## [0.3.9] - 2022-11-08

### Changed

- Leveraging [hosted presets](https://docs.renovatebot.com/config-presets/) for `renovate.json` config

## [0.3.8] - 2022-08-15

### Added
Expand Down Expand Up @@ -112,7 +118,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- README template
- Security guidance

[unreleased]: https://github.com/wayfair-incubator/oss-template/compare/v0.3.8...HEAD
[unreleased]: https://github.com/wayfair-incubator/oss-template/compare/v0.3.9...HEAD
[0.3.9]: https://github.com/wayfair-incubator/oss-template/compare/v0.3.8...v0.3.9
[0.3.8]: https://github.com/wayfair-incubator/oss-template/compare/v0.3.7...v0.3.8
[0.3.7]: https://github.com/wayfair-incubator/oss-template/compare/v0.3.6...v0.3.7
[0.3.6]: https://github.com/wayfair-incubator/oss-template/compare/v0.3.5...v0.3.6
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ In trying to keep this template as generic and reusable as possible, there are s
- [ ] Add names and contact information for actual project maintainers to [`MAINTAINERS.md`](MAINTAINERS.md).
- [ ] Delete the content of [`CHANGELOG.md`](CHANGELOG.md). We encourage you to [keep a changelog](https://keepachangelog.com/en/1.0.0/).
- [ ] Configure [`renovate.json`](renovate.json) for your project's language and tooling dependencies.
- [ ] Note that the base `renovate.json` file included with this template inherits most of its configuration logic from Wayfair OSPO's recommended presets, hosted [here](https://github.com/wayfair/ospo-automation/blob/main/default.json). If your project does not require advanced dependency configuration, this may be sufficient for your needs.
- [ ] 💡 To learn more about using and configuring [Renovate](http://renovatebot.com/), check out our [wayfair.github.io](https://wayfair.github.io) article: **[Managing Project Dependencies](https://wayfair.github.io/docs/managing-dependencies/)**.
- [ ] Replace the generic content in this file with the relevant details about your project.
- [ ] Acknowledge that some features like [branch protection rules](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule) are only available when the repo is `public`.
Expand Down Expand Up @@ -82,7 +83,7 @@ Contributions are what make the open source community such an amazing place to l

## License

Distributed under the `<License name>` License. See `LICENSE` for more information.
Distributed under the `<License name>` License. See [LICENSE](LICENSE) for more information.

## Contact

Expand Down
26 changes: 2 additions & 24 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Renovate configuration recommended by the Wayfair OSPO",
"labels": [
"renovate/{{depName}}"
],
"description": "Wayfair OSPO recommended presets (https://github.com/wayfair/ospo-automation/blob/main/default.json)",
"extends": [
"config:base",
":dependencyDashboard",
":rebaseStalePrs"
],
"schedule": [
"before 3am every weekday"
],
"enabledManagers": [
"github-actions"
],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"groupName": "Minor Updates",
"automerge": true
},
{
"matchManagers": ["github-actions"],
"groupName": "GitHub Actions"
}
"github>wayfair/ospo-automation"
]
}

0 comments on commit 0b37599

Please sign in to comment.