Skip to content

Commit

Permalink
Merge pull request #3 from sumanas27/add-renovate
Browse files Browse the repository at this point in the history
Add renovate
  • Loading branch information
sumanas27 authored Nov 21, 2022
2 parents 23b2096 + c0ae513 commit be71951
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/renovate-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Renovate Config Linting
on:
pull_request:

jobs:
renovate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 🧼 lint renovate config # Validates changes to renovate.json config file
uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2
with:
config_file_path: 'renovate.json'
37 changes: 37 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Renovate configuration for bigpanda rs repository",
"extends": [
"config:base",
":dependencyDashboard",
":rebaseStalePrs"
],
"schedule": [
"before 3am every weekday"
],
"enabledManagers": [
"github-actions"
],
"cargo": {
"packageRules": [
{
"description": "Wait 3 days before opening a PR for new major version updates",
"matchUpdateTypes": ["major"]
},
{
"description": "Automerge non-major version updates (assuming the CI pipelines pass)",
"matchUpdateTypes": ["patch", "minor"]
}
]
},
"packageRules": [
{
"matchManagers": ["github-actions"],
"groupName": "GitHub Actions"
},
{
"matchManagers": ["cargo"],
"groupName": "Cargo"
}
]
}

0 comments on commit be71951

Please sign in to comment.