-
Notifications
You must be signed in to change notification settings - Fork 0
/
atomi_release.yaml
131 lines (126 loc) · 3.41 KB
/
atomi_release.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
gitlint: .gitlint
conventionMarkdown:
path: CommitConventions.md
template: |
---
id: commit-conventions
title: Commit Conventions
---
var___convention_docs___
keywords:
- BREAKING CHANGE
- BREAKING CHANGES
- BREAKING
branches:
- main
specialScopes:
no-release:
desc: Prevent release from happening
release: false
plugins:
- module: '@semantic-release/changelog'
config:
changelogFile: Changelog.md
- module: '@semantic-release/git'
config:
message: "release: ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
assets:
- Changelog.md
- CommitConventions.md
# Angular Conventional Commit Example: https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines
types:
- type: build
desc: 'Changes that affect the build system or external dependencies (example scopes: nix)'
scopes:
default:
desc: Fixes in nix
release: false
- type: config
desc: 'Changes to the configuration files (example scopes: nix, ci)'
scopes:
default:
desc: Update configuration files
release: false
- type: ci
desc: 'Changes to our CI configuration files and scripts (example scopes: github_workflow, github_action)'
scopes:
default:
desc: Update CI configuration
release: false
- type: docs
section: 📜 Documentation 📜
desc: Documentation only changes
scopes:
default:
desc: Update documentation such as README file
release: false
- type: feat
section: ✨ Features ✨
desc: A new feature
vae:
verb: add
application: <scope>, <title>
example: 'feat: new withdraw api for rapid'
scopes:
default:
desc: Release a new features
release: minor
- type: fix
section: 🐛 Bug Fixes 🐛
desc: A bug fix
vae:
verb: fix
application: <title>
example: 'fix: deposit api for rapid'
scopes:
default:
desc: Generic fixes
release: patch
- type: perf
section: 🚀 Performance Improvement 🚀
desc: A code change that improves performance
vae:
verb: improve
application: <title>
example: 'perf: alpaca api callback speed increase'
scopes:
default:
desc: Generic improvement statement
release: patch
- type: refactor
desc: A code change that neither fixes a bug nor adds a feature
vae:
verb: refactor
application: <scope>, <title>
example: 'refactor: make withdrawal code more reusable'
scopes:
default:
desc: Refactor existing feature
release: minor
- type: style
desc: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
vae:
verb: style
application: <title>
example: 'style: add missing semi colon'
scopes:
default:
desc: Generic improvement statement
release: patch
- type: test
section: 🧪 Tests 🧪
desc: Adding missing tests or correcting existing tests
vae:
verb: test
application: <scope>, <title>
example: 'test: update test for deposit api'
scopes:
default:
desc: Made changes to test
release: minor
- type: amend
desc: Any amendment, uncategorized, or small mistakes (like typos)
scopes:
default:
desc: amendments
release: false