Skip to content

Commit 623e1e7

Browse files
443781544Jiayuan Chen
andauthored
Add Renovate (#273)
Co-authored-by: Jiayuan Chen <jchen4@wayfair.com>
1 parent a08835c commit 623e1e7

File tree

3 files changed

+39
-19
lines changed

3 files changed

+39
-19
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Renovate Config Linting
2+
on: [pull_request]
3+
4+
jobs:
5+
renovate:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
- name: 🧼 lint renovate config # Validates changes to renovate.json config file
10+
uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2
11+
with:
12+
config_file_path: 'renovate.json'

renovate.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"description": "Renovate configuration for pygitops",
4+
"labels": [
5+
"renovate/{{depName}}"
6+
],
7+
"extends": [
8+
"config:base"
9+
],
10+
"schedule": [
11+
"before 9am"
12+
],
13+
"packageRules": [
14+
{
15+
"matchManagers": ["dockerfile", "docker-compose"],
16+
"groupName": "Docker"
17+
},
18+
{
19+
"matchManagers": ["github-actions"],
20+
"groupName": "GitHub Actions"
21+
},
22+
{
23+
"matchManagers": ["pip_requirements", "pip_setup", "setup-cfg"],
24+
"groupName": "Python"
25+
}
26+
]
27+
}

0 commit comments

Comments
 (0)