Skip to content

Commit

Permalink
Merge pull request #134 from mustafacantekir/adds-renovate-config-rem…
Browse files Browse the repository at this point in the history
…oves-dependabot

Adds renovate config removes dependabot, increases codecov action version
  • Loading branch information
mustafacantekir authored Oct 15, 2022
2 parents 1efc15c + a782c1c commit 5459300
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 12 deletions.
11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
if: ${{ always() }}

- name: "Publish coverage results to Codecov"
uses: "codecov/codecov-action@v1.0.13"
uses: "codecov/codecov-action@v3.1.1"
with:
file: "coverage-${{ matrix.python-version }}.xml"
fail_ci_if_error: "true"
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/renovate_linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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'

26 changes: 26 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Renovate configuration for little-cheesemonger",
"extends": [
"config:base",
":rebaseStalePrs",
":gitSignOff",
"schedule:earlyMondays"
],
"enabledManagers": [
"github-actions",
"dockerfile",
"pip_requirements",
"poetry"
],
"packageRules": [
{
"matchPackageNames": "pip_requirements",
"matchFiles": [
"requirements.txt",
"requirements-test.txt"
]
}
]
}

0 comments on commit 5459300

Please sign in to comment.