Skip to content

Commit

Permalink
ci: enable renovate
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
  • Loading branch information
st3iny committed Aug 9, 2024
1 parent 79bfb92 commit 7243d1e
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Upstream-Name: @nextcloud/timezones
Upstream-Contact: Richard Steinmetz <richard@steinmetz.cloud>
Source: https://github.com/nextcloud-libraries/timezones

Files: package.json package-lock.json README.md CHANGELOG.md
Files: package.json package-lock.json README.md CHANGELOG.md renovate.json
Copyright: 2024 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later

Expand Down
77 changes: 77 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"helpers:pinGitHubActionDigests",
":dependencyDashboard",
":semanticCommits",
":gitSignOff"
],
"timezone": "Europe/Berlin",
"schedule": [
"before 5am on tuesday"
],
"labels": [
"dependencies",
"3. to review"
],
"commitMessageAction": "Bump",
"commitMessageTopic": "{{depName}}",
"commitMessageExtra": "from {{currentVersion}} to {{#if isPinDigest}}{{{newDigestShort}}}{{else}}{{#if isMajor}}{{prettyNewMajor}}{{else}}{{#if isSingleVersion}}{{prettyNewVersion}}{{else}}{{#if newValue}}{{{newValue}}}{{else}}{{{newDigestShort}}}{{/if}}{{/if}}{{/if}}{{/if}}",
"rangeStrategy": "bump",
"rebaseWhen": "conflicted",
"ignoreUnstable": false,
"baseBranches": [
"main"
],
"enabledManagers": [
"github-actions",
"npm"
],
"ignoreDeps": [
"node",
"npm"
],
"packageRules": [
{
"description": "Request JavaScript reviews",
"matchManagers": ["npm"],
"reviewers": [
"st3iny"
]
},
{
"description": "Bump Github actions monthly and request reviews",
"matchManagers": ["github-actions"],
"extends": ["schedule:monthly"],
"reviewers": [
"st3iny"
]
},
{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true,
"automergeType": "pr",
"platformAutomerge": true,
"labels": [
"dependencies",
"4. to release"
],
"reviewers": []
},
{
"matchBaseBranches": ["main"],
"matchDepTypes": ["devDependencies"],
"extends": ["schedule:monthly"]
}
],
"vulnerabilityAlerts": {
"enabled": true,
"semanticCommitType": "fix",
"schedule": "before 7am every weekday",
"dependencyDashboardApproval": false,
"commitMessageSuffix": ""
},
"osvVulnerabilityAlerts": true
}

0 comments on commit 7243d1e

Please sign in to comment.