Skip to content

Commit

Permalink
Merge pull request #129 from autotag-dev/joem/remove-dependabot
Browse files Browse the repository at this point in the history
deps: disable dependabot in favor of renovate
  • Loading branch information
joemiller authored Dec 8, 2024
2 parents 675cb73 + e80a0a4 commit a08f7b9
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

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 a08f7b9

Please sign in to comment.