Skip to content

Commit

Permalink
ci(renovate): Use the vulnerability alert preset (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris3ware authored Feb 14, 2025
1 parent 084a2aa commit 51813f7
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 20 deletions.
36 changes: 21 additions & 15 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"release": "major"
},
{
"type": "refactor",
"release": "minor"
"release": "minor",
"type": "refactor"
},
{
"type": "chore",
"release": "patch",
"scope": "deps",
"release": "patch"
"type": "chore"
}
]
}
Expand All @@ -29,25 +29,31 @@
"presetConfig": {
"types": [
{
"type": "refactor",
"hidden": false,
"section": "Enhancement",
"hidden": false
"type": "refactor"
},
{
"type": "feat",
"hidden": false,
"section": "Features",
"hidden": false
"type": "feat"
},
{
"type": "fix",
"hidden": false,
"section": "Bug Fixes",
"hidden": false
"type": "fix"
},
{
"type": "chore",
"hidden": false,
"scope": "deps",
"section": "Chores",
"hidden": false
"section": "Security",
"type": "fix"
},
{
"hidden": false,
"scope": "deps",
"section": "Dependencies",
"type": "chore"
}
]
}
Expand All @@ -56,9 +62,9 @@
[
"@semantic-release/github",
{
"successComment": "This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version}",
"labels": false,
"releasedLabels": false
"releasedLabels": false,
"successComment": "This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version}"
}
],
[
Expand Down
20 changes: 15 additions & 5 deletions .renovaterc.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"commitMessageLowerCase": "never",
"extends": ["config:recommended"],
"packageRules": [
{
"enabled": false,
"matchPackageNames": [".*"]
}
],
"vulnerabilityAlerts": {
"schedule": [],
"addLabels": ["security"],
"branchTopic": "{{{datasource}}}-{{{depNameSanitized}}}-vulnerability",
"commitMessagePrefix": "fix(deps): ",
"dependencyDashboardApproval": false,
"enabled": true,
"minimumReleaseAge": null,
"rangeStrategy": "auto",
"branchTopic": "{{{datasource}}}-{{{depNameSanitized}}}-vulnerability",
"prCreation": "immediate",
"vulnerabilityFixStrategy": "lowest",
"addLabels": ["security"]
"rangeStrategy": "auto",
"schedule": [],
"vulnerabilityFixStrategy": "lowest"
}
}
1 change: 1 addition & 0 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ runtimes:
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- [email protected]
- [email protected]
- [email protected]
- git-diff-check
Expand Down

0 comments on commit 51813f7

Please sign in to comment.