Skip to content

Commit

Permalink
Add renovate (#73)
Browse files Browse the repository at this point in the history
* Add Renovate

* update lint.yml

* update config schedule

* add packageRules

* remove docker group

Co-authored-by: Jiayuan Chen <[email protected]>
  • Loading branch information
443781544 and Jiayuan Chen authored Oct 17, 2022
1 parent 409a35d commit 155f015
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 21 deletions.
21 changes: 0 additions & 21 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/[email protected]
with:
config_file_path: 'renovate.json'
48 changes: 48 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"$schema": "https://docs.renovatdebot.com/renovate-schema.json",
"description": "Renovate configuration for WAYSON",
"extends": [
"config:base"
],
"schedule": [
"before 9am on Monday"
],
"packageRules": [
{
"matchManagers": [
"github-actions"
],
"groupName": "GitHub Actions",
"addLabels": [
"actions"
]
},
{
"matchManagers": [
"nuget"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"addLabels": [
"non-breaking",
"cut new release"
],
"groupName": "NuGet Packages - Minor Updates"
},
{
"matchManagers": [
"nuget"
],
"matchUpdateTypes": [
"major"
],
"addLabels": [
"breaking",
"cut new release"
],
"groupName": "NuGet Packages - Major Updates"
}
]
}

0 comments on commit 155f015

Please sign in to comment.