Skip to content

Commit

Permalink
ci: renovate for dependency update (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
aabouzaid committed Sep 12, 2023
1 parent 942f62d commit cc82dcb
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"extends": [
"config:base",
"docker:pinDigests",
"helpers:pinGitHubActionDigests"
],
"dependencyDashboard": true,
"labels": [
"dependencies"
],
"semanticCommits": "enabled",
"packageRules": [
{
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch",
"digest",
"pinDigest",
"pin"
],
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch-digest-pin"
},
],
"postUpdateOptions": [
"gomodTidy",
"gomodUpdateImportPaths"
]
}
18 changes: 18 additions & 0 deletions .github/workflows/deps-renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deps - Renovate

on:
pull_request:
paths:
- '.github/renovate.json5'
workflow_dispatch: { }

jobs:
check:
name: Check renovate config
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Validate renovate config
uses: docker://renovate/renovate
with:
args: renovate-config-validator

0 comments on commit cc82dcb

Please sign in to comment.