Skip to content

Commit cd0364d

Browse files
committed
fix: introduce a 24 hour delay before automerge
1 parent 029b653 commit cd0364d

File tree

3 files changed

+25
-13
lines changed

3 files changed

+25
-13
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ repos:
3232
description: FIX markdownlint to check for formatting issues
3333
files: content
3434
types: [file, markdown]
35+
- repo: https://github.com/renovatebot/pre-commit-hooks
36+
rev: 37.434.2
37+
hooks:
38+
- id: renovate-config-validator
3539
- repo: local
3640
hooks:
3741
- id: commit-msg-check

renovate.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

renovate.json5

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
extends: [
4+
"config:recommended",
5+
":dependencyDashboard",
6+
":semanticCommitTypeAll(fix)",
7+
":automergeAll",
8+
":enablePreCommit",
9+
],
10+
customManagers: [
11+
{
12+
customType: "regex",
13+
fileMatch: ["(^|/|.)config.yaml$"],
14+
matchStrings: [
15+
'datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sversion:\\s*"(?<currentValue>.*)"\\s',
16+
],
17+
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
18+
},
19+
],
20+
minimumReleaseAge: "24 hours",
21+
}

0 commit comments

Comments
 (0)