Skip to content

Commit

Permalink
Add Renovate (#273)
Browse files Browse the repository at this point in the history
Co-authored-by: Jiayuan Chen <jchen4@wayfair.com>
  • Loading branch information
443781544 and Jiayuan Chen authored Oct 25, 2022
1 parent a08835c commit 623e1e7
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/dependabot.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Renovate Config Linting
on: [pull_request]

jobs:
renovate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 🧼 lint renovate config # Validates changes to renovate.json config file
uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2
with:
config_file_path: 'renovate.json'
27 changes: 27 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Renovate configuration for pygitops",
"labels": [
"renovate/{{depName}}"
],
"extends": [
"config:base"
],
"schedule": [
"before 9am"
],
"packageRules": [
{
"matchManagers": ["dockerfile", "docker-compose"],
"groupName": "Docker"
},
{
"matchManagers": ["github-actions"],
"groupName": "GitHub Actions"
},
{
"matchManagers": ["pip_requirements", "pip_setup", "setup-cfg"],
"groupName": "Python"
}
]
}

0 comments on commit 623e1e7

Please sign in to comment.