Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/validate-renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Caller workflow for the reusable validate-renovate workflow in loft-sh/github-actions.
name: Validate Renovate Config

on:
pull_request:
paths:
- 'renovate.json'
- 'renovate.json5'
- '.renovaterc'
- '.renovaterc.json'

permissions: {}

jobs:
validate-renovate:
permissions:
contents: read
pull-requests: read
uses: loft-sh/github-actions/.github/workflows/validate-renovate.yaml@b52efbd927586ea78282073f79d2423e552c9f62 # validate-renovate/v1
41 changes: 41 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":semanticCommits",
"helpers:pinGitHubActionDigests"
],
"baseBranchPatterns": ["main"],
"labels": ["dependencies"],
"prHourlyLimit": 5,
"prConcurrentLimit": 10,
"minimumReleaseAge": "3 days",
"schedule": ["before 6am on monday"],
"vulnerabilityAlerts": {
"enabled": true,
"labels": ["security"]
},
"packageRules": [
{
"description": "npm: 7-day stabilization period for all JS deps",
"matchManagers": ["npm"],
"minimumReleaseAge": "7 days"
},
{
"description": "npm: group all non-major updates",
"matchManagers": ["npm"],
"matchUpdateTypes": ["minor", "patch"],
"groupName": "npm-non-major"
},
{
"description": "npm: major updates individually for human review",
"matchManagers": ["npm"],
"matchUpdateTypes": ["major"]
},
{
"description": "Group GitHub Actions updates",
"matchManagers": ["github-actions"],
"groupName": "github-actions"
}
]
}