-
-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathblockRenovate.ts
41 lines (40 loc) · 881 Bytes
/
blockRenovate.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { base } from "../base.js";
import { blockGitHubApps } from "./blockGitHubApps.js";
export const blockRenovate = base.createBlock({
about: {
name: "Renovate",
},
produce() {
return {
addons: [
blockGitHubApps({
apps: [
{
name: "Renovate",
url: "https://github.com/apps/renovate",
},
],
}),
],
files: {
".github": {
"renovate.json": JSON.stringify({
$schema: "https://docs.renovatebot.com/renovate-schema.json",
automerge: true,
extends: [
":preserveSemverRanges",
"config:best-practices",
"replacements:all",
],
ignoreDeps: ["codecov/codecov-action"],
labels: ["dependencies"],
minimumReleaseAge: "7 days",
patch: { enabled: false },
pinDigests: false,
postUpdateOptions: ["pnpmDedupe"],
}),
},
},
};
},
});