You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/github_cli_workflow.md
+46Lines changed: 46 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,52 @@ gh run view <run-id>
125
125
gh run watch <run-id>
126
126
```
127
127
128
+
## Automated Changelog Workflow
129
+
130
+
Our repository uses an automated changelog workflow that follows [Semantic Versioning](https://semver.org/) and [Keep a Changelog](https://keepachangelog.com/) standards.
131
+
132
+
### Version Increment Rules
133
+
-**Major Version (X.0.0)**: Breaking changes
134
+
- Indicated by `feat!:` or `BREAKING CHANGE` in commit message
135
+
- Example: `feat!: rename repository`
136
+
-**Minor Version (0.X.0)**: New features
137
+
- Indicated by `feat:` in commit message
138
+
- Example: `feat: add new logging system`
139
+
-**Patch Version (0.0.X)**: Bug fixes and small changes
140
+
- All other commit types (`fix:`, `docs:`, etc.)
141
+
- Example: `fix: resolve logging issue`
142
+
143
+
### Change Type Categories
144
+
-`feat:` → Added
145
+
-`fix:` → Fixed
146
+
-`docs:` → Documentation
147
+
-`refactor:` → Changed
148
+
-`security:` → Security
149
+
-`feat!:` or `BREAKING CHANGE` → Breaking Change
150
+
151
+
### Workflow Process
152
+
1. Create a PR with conventional commit message:
153
+
```bash
154
+
gh pr create --title "feat: add new feature" --body "Description of the feature"
155
+
```
156
+
157
+
2. After merge, the workflow automatically:
158
+
- Determines change type from PR title
159
+
- Increments version number
160
+
- Updates CHANGELOG.md
161
+
- Creates a new PR with changelog updates
162
+
163
+
3. Review and merge the changelog PR:
164
+
```bash
165
+
gh pr list # Find the changelog PR
166
+
gh pr merge <number> --merge # Merge the changelog PR
0 commit comments