Skip to content

Commit

Permalink
Update renovate.json config
Browse files Browse the repository at this point in the history
  • Loading branch information
denisvmedia committed Feb 4, 2025
1 parent e8b55f8 commit 965ea78
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Renovate Config Validation

on:
pull_request:
paths:
- 'renovate.json'
push:
branches:
- main

jobs:
validate-renovate-config:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install Renovate
run: npm install -g renovate

- name: Validate renovate.json
run: renovate-config-validator
13 changes: 12 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"config:recommended"
],
"packageRules": [
{
"matchManagers": ["gomod"],
"matchDepTypes": ["indirect"],
"enabled": true
}
],
"postUpdateOptions": [
"gomodTidy"
]
}

0 comments on commit 965ea78

Please sign in to comment.