Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/growse/renovate-template
Templates for renovate configs
https://github.com/growse/renovate-template
Last synced: about 2 months ago
JSON representation
Templates for renovate configs
- Host: GitHub
- URL: https://github.com/growse/renovate-template
- Owner: growse
- License: mpl-2.0
- Created: 2023-09-16T08:22:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-15T09:36:57.000Z (8 months ago)
- Last Synced: 2024-11-04T12:47:00.601Z (3 months ago)
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Some handy Renovate templates
I found myself using the same configs for [Renovate](https://github.com/renovatebot/renovate) across multiple projects, so thought I'd bring them together.
A project can reference a github-hosted template with the `extends` keyword. For example:
```json
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>growse/renovate-template",
"github>growse/renovate-template:automerge-minor-and-patch",
"github>growse/renovate-template:automerge-github-actions"
]
}
```## Default template
`"github>growse/renovate-template"`
Generic policy applied to all my projects. Probably not useful for others:
* Disables issue dashboard (I don't find it useful)
* Disables rate limiting
* Rebase's PRs
* Assigns me to the PR
* Does lockfile maintenance with automerge## Automerge github actions
`"github>growse/renovate-template:automerge-github-actions"`
Auto-merges github actions after a cooling-off period of 7 days.
## Auto-merge Minor & Patch
`"github>growse/renovate-template:automerge-minor-and-patch"`
Auto-merges minor and patch updates, as well as pinning and digest updates.
## Docker env
`"github>growse/renovate-template:docker-env"`
Provides the ability to auto-bump versions in Dockerfiles by annotating an Dockerfile `ENV` with a specific comment. E.g.
```Dockerfile
# renovate: datasource=github-releases depName=mydep/my-dependency
ENV MYDEPENDENCY_VERSION=v1.2.3
```Will bump the value of this variable using Github Releases as a data source, looking at the `mydep/my-dependency` repository
## Makefile version
`"github>growse/renovate-template:makefile-version"`
A bit like `docker-env`, but uses variables in makefiles.
```Makefile
# renovate: datasource=github-releases depName=mydep/my-dependency
MYDEPENDENCY_VERSION := v1.2.3
```