-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefaults.ts
More file actions
52 lines (42 loc) · 1.22 KB
/
defaults.ts
File metadata and controls
52 lines (42 loc) · 1.22 KB
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
42
43
44
45
46
47
48
49
50
51
52
import type { Config } from "../types/config";
import type { Image } from "../types/image";
import type { Package } from "../types/package";
import type { Author, Commit, PullRequest } from "../types/repository";
import { README_PATH } from "../utils/inputs";
export const defaultPackage: Package = {
manager: "auto",
global: false,
dev: false,
};
export const defaultImage: Image = {
url: "https://banners.beyondco.de/{title}.png",
parameters: {
pattern: "topography",
style: "style_2",
fontSize: "100px",
md: "1",
showWatermark: "1",
},
};
export const defaultAuthor: Author = {
name: "github-actions",
email: "github-actions@github.com",
};
export const defaultCommit: Commit = {
branch: "preview/banner-{random}",
title: "docs(preview): Update repository banner image",
author: defaultAuthor,
};
export const defaultPullRequest: PullRequest = {
title: "Update repository banner image",
labels: ["preview"],
};
export const defaultConfig: Config = {
readme: README_PATH.defaultValue,
package: defaultPackage,
image: defaultImage,
repository: {
commit: defaultCommit,
pullRequest: defaultPullRequest,
},
};