Skip to content

Commit

Permalink
Add renovate configuration (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
jashparekh authored Oct 28, 2022
1 parent 4593106 commit 0108e16
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/renovate-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint Renovate Config

on:
# Trigger the workflow on push or pull request,
# but only for the main branch
pull_request: {}
push:
branches: ["main"]

jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: 🧼 Lint # Validates changes to renovate.json config file
uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2
with:
config_file_path: 'renovate.json'
17 changes: 17 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"labels": [
"renovate/{{depName}}"
],
"extends": [
"config:base",
"schedule:earlyMondays",
":dependencyDashboard",
":rebaseStalePrs"
],
"enabledManagers": [
"docker-compose",
"github-actions",
"pip_requirements"
]
}

0 comments on commit 0108e16

Please sign in to comment.