-
Notifications
You must be signed in to change notification settings - Fork 3
/
.projenrc.js
45 lines (45 loc) · 1.35 KB
/
.projenrc.js
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
const { GitHubActionTypeScriptProject } = require('projen-github-action-typescript');
const project = new GitHubActionTypeScriptProject({
defaultReleaseBranch: 'main',
devDeps: ['projen-github-action-typescript'],
deps: ['heap-js'],
name: 'github-merit-badger',
actionMetadata: {
inputs: {
'github-token': {
description: 'github token',
required: true,
},
'badges': {
description: 'badge names corresponding 1-1 with thresholds',
required: true,
},
'badge-descriptions': {
description: 'badge descriptions corresponding 1-1 with badges',
required: false,
},
'thresholds': {
description: 'thresholds corresponding 1-1 with badges',
required: true,
},
'days': {
description: 'filter for pull requests merged in the last X number of days',
required: false,
},
'title-prefixes': {
description: 'filter for pull requests with titles that start with these prefixes',
required: false,
},
'ignore-usernames': {
description: 'ignore pull requests from these authors',
required: false,
},
'badge-type': {
description: 'a flag for different ways of measuring contributions',
default: 'total',
required: false,
},
},
},
});
project.synth();