chore(renovate): add renovate configuration and lint github workflow

This commit is contained in:
Vadim Aleksandrov 2024-07-15 16:29:58 +03:00
parent d768b1ec10
commit ce8eeabf9e
No known key found for this signature in database
GPG Key ID: 4D3A2E248D54FDAE
2 changed files with 48 additions and 0 deletions

19
.github/workflows/lint-renovate.yaml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Lint renovate configuration
on:
push:
branches: [master]
paths:
- .renovaterc
- ".github/workflows/lint-renovate.yaml"
pull_request:
paths:
- .renovaterc
- ".github/workflows/lint-renovate.yaml"
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v4
- uses: suzuki-shunsuke/github-action-renovate-config-validator@v1.0.1

29
.renovaterc Normal file
View File

@ -0,0 +1,29 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":disableRateLimiting",
":disableVulnerabilityAlerts"
],
"labels": [
"dependencies"
],
"postUpdateOptions": [
"gomodTidy",
"gomodUpdateImportPaths"
],
"reviewersFromCodeOwners": true,
"enabledManagers": [
"gomod",
"dockerfile",
"github-actions"
],
"packageRules": [
{
"matchDatasources": [
"golang-version"
],
"rangeStrategy": "bump"
}
]
}