chore(renovate): add renovate configuration and lint github workflow
This commit is contained in:
parent
d768b1ec10
commit
ce8eeabf9e
19
.github/workflows/lint-renovate.yaml
vendored
Normal file
19
.github/workflows/lint-renovate.yaml
vendored
Normal 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
29
.renovaterc
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user