-
Notifications
You must be signed in to change notification settings - Fork 1
/
.snage.yaml
92 lines (86 loc) · 2.04 KB
/
.snage.yaml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: 2
basedir: changelog
template:
file: ${issue}-${type}.md
note:
styles:
- on: 'type = add'
css:
borderLeft: '10px solid #2ecc71' # green
- on: 'type = remove'
css:
borderLeft: '10px solid black'
- on: 'type = deprecate'
css:
borderLeft: '10px solid #95a5a6' # grey
- on: 'type = fix'
css:
borderLeft: '10px solid #2980b9' # blue
- on: 'type = security'
css:
borderLeft: '10px solid #e74c3c' # red
- on: 'type = change'
css:
borderLeft: '10px solid #f39c12' # orange
links:
- name: "GitHub#${issue}"
link: "https://github.com/FACT-Finder/snage/issues/${issue}"
fields:
- name: type
type: string
enum: [ add, change, deprecate, remove, fix, security ]
styles:
- on: 'type = add'
css:
background: '#2ecc71' # green
- on: 'type = remove'
css:
background: 'black'
color: 'white'
- on: 'type = deprecate'
css:
background: '#95a5a6' # grey
- on: 'type = fix'
css:
background: '#2980b9' # blue
color: 'white'
- on: 'type = security'
css:
background: '#e74c3c' # red
- on: 'type = change'
css:
background: '#f39c12' # orange
- name: issue
type: number
description: The github issue number
- name: audience
type: string
enum: [ user, developer ]
description: The audience affected by the change
- name: components
type: string
list: true
enum: [ server, ui, cli, api, config, docs ]
optional: true
- name: version
type: semver
optional: true
provided:
by: 'git-version'
arguments:
version-regex: '^v(\d+.\d+.\d+(-\d+)?)$'
- name: date
type: date
description: date in 'YYYY-MM-DD' format
optional: true
provided:
by: 'git-date'
arguments:
version-tag: 'v${version}'
filterPresets: []
standard:
query: ""
sort:
field: version
order: desc
absent: first