Skip to content

Commit

Permalink
Configure Renovate (#12)
Browse files Browse the repository at this point in the history
* Add renovate.json

* Update renovate.json

* Add CODECOV_TOKEN

To allow codecov uploads

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Greg Tyler <[email protected]>
  • Loading branch information
renovate[bot] and gregtyler authored Apr 22, 2024
1 parent b9fa41e commit 2d44f55
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
- name: Upload Code Coverage
uses: codecov/codecov-action@v1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: /tmp/test-coverage.txt
fail_ci_if_error: true
Expand Down
41 changes: 41 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"branchPrefix": "renovate-",
"branchNameStrict": true,
"commitMessageAction": "Renovate Update",
"labels": [
"Dependencies",
"Renovate"
],
"packageRules": [
{
"automerge": true,
"groupName": "Patch & Minor Updates",
"groupSlug": "all-minor-patch-updates",
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"stabilityDays": 3,
"prPriority": 4
}
],
"major": {
"automerge": false,
"stabilityDays": 3,
"prPriority": 0
},
"vulnerabilityAlerts": {
"groupName": "Security Alerts",
"rangeStrategy": "update-lockfile",
"commitMessagePrefix": "[SECURITY]",
"branchTopic": "{{{datasource}}}-{{{depName}}}-vulnerability",
"prPriority": 5
}
}

0 comments on commit 2d44f55

Please sign in to comment.