-
Notifications
You must be signed in to change notification settings - Fork 0
/
auto.config.js
77 lines (76 loc) · 1.77 KB
/
auto.config.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
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
const labels = [
{
name: 'change: major',
changelogTitle: 'Breaking Change',
description: 'A major breaking change',
releaseType: 'major',
},
{
name: 'change: feature',
changelogTitle: 'Feature',
description: 'Adds a new feature or improves on an existing one',
releaseType: 'minor',
},
{
name: 'change: fix',
changelogTitle: 'Fix',
description: 'Fixes a bug',
releaseType: 'patch',
},
{
name: 'change: documentation',
changelogTitle: 'Documentation',
description: 'Changes only affect the documentation',
releaseType: 'patch',
},
{
name: 'change: refactor',
changelogTitle: 'Refactor',
description: 'Changes that introduce no new features or fixes',
releaseType: 'patch',
},
{
name: 'change: performance',
changelogTitle: 'Performance',
description: 'Improve performance of an existing feature',
releaseType: 'patch',
},
{
name: 'change: dependencies',
changelogTitle: 'Dependencies',
description: 'Updates to dependencies only',
releaseType: 'patch',
},
{
name: 'change: chore',
changelogTitle: 'Chore',
description: 'Changes around build process',
releaseType: 'none',
},
{
name: 'change: tests',
changelogTitle: 'Tests',
description: 'Add or improve existing tests',
releaseType: 'none',
},
{
name: 'release: skip',
description: 'Skips the release step when this pr is merged',
releaseType: 'skip',
},
{
name: 'state: released',
description: 'PR has been released',
releaseType: 'release',
},
];
/**
* @type {import('auto').AutoRc}
*/
module.exports = {
baseBranch: 'release',
plugins: ['npm', 'slack', 'released'],
noDefaultLabels: true,
labels,
prereleaseBranches: ['next'],
};