Skip to content

Commit

Permalink
deps: add renovate.json5
Browse files Browse the repository at this point in the history
  • Loading branch information
joemiller committed Dec 8, 2024
1 parent 52db384 commit e80a0a4
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/validate-renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: validate renovate.json5

on:
pull_request:

env:
LOG_LEVEL: debug

jobs:
renovate-config-validator:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version: 20

- run: npx -p renovate renovate-config-validator renovate.json5
55 changes: 55 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"extends": [
"config:best-practices",
":rebaseStalePrs",
"regexManagers:dockerfileVersions"
],
"packageRules": [
{
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch",
"digest"
],
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch-digest",
"schedule": [
"after 10pm on friday"
]
},
{
"matchManagers": [
"gomod"
],
"postUpdateOptions": [
"gomodTidy"
]
},
{
"description": "Only update codeql-action digest updates monthly",
"matchDatasources": [
"github-actions"
],
"matchPackageNames": [
"github/codeql-action"
],
"matchUpdateTypes": [
"digest"
],
"schedule": [
"after 10pm on the first day of the month"
]
}
],
"labels": [
"dependencies"
],
"osvVulnerabilityAlerts": true,
"dependencyDashboardOSVVulnerabilitySummary": "unresolved",
"vulnerabilityAlerts": {
"enabled": true
}
}

0 comments on commit e80a0a4

Please sign in to comment.