Skip to content

Commit

Permalink
Configure Renovate (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbaldoumas authored Oct 3, 2022
1 parent 9cc2040 commit 3c059c5
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 29 deletions.
12 changes: 0 additions & 12 deletions .github/dependabot.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint

on: ["push", "pull_request"]

jobs:
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: 🧼 lint markdown files
uses: avto-dev/markdown-lint@v1
with:
config: '.markdownlint.json'
args: '**/*.md .github/**/*.md'

renovate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 🧼 lint renovate config
uses: suzuki-shunsuke/[email protected]
with:
config_file_path: 'renovate.json'
16 changes: 0 additions & 16 deletions .github/workflows/markdown-lint.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Build
run: dotnet build src --configuration Release --no-restore
- name: Publish NuGet
uses: brandedoutcast/publish-nuget@v2.5.5
uses: alirezanet/publish-nuget@v3.0.4
with:
PROJECT_FILE_PATH: src/Gossip.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
61 changes: 61 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Renovate configuration for Gossip",
"labels": [
"dependencies",
"renovate"
],
"extends": [
"config:base"
],
"schedule": [
"before 9am on Monday"
],
"packageRules": [
{
"matchManagers": [
"github-actions"
],
"groupName": "GitHub Actions",
"addLabels": [
"actions"
]
},
{
"matchManagers": [
"docker-compose"
],
"groupName": "Docker",
"addLabels": [
"docker"
]
},
{
"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 3c059c5

Please sign in to comment.