Skip to content

Commit a18afa5

Browse files
Copilotmarcelocragreptile-apps[bot]Copilot
authored
Add git cliff filters to ignore CI commits (#44)
* Initial plan * feat: add git cliff filters to ignore CI changelog commits and improve workflow Co-authored-by: marcelocra <2532492+marcelocra@users.noreply.github.com> * fix: make changelog CI commit filters case-insensitive Co-authored-by: marcelocra <2532492+marcelocra@users.noreply.github.com> * feat: fix incorrect path in .github/workflows/changelog.yml Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: restore CHANGELOG.md and fix configuration to preserve manually curated history Co-authored-by: marcelocra <2532492+marcelocra@users.noreply.github.com> * refactor: combine duplicate CI commit filter patterns into single regex Co-authored-by: marcelocra <2532492+marcelocra@users.noreply.github.com> * chore: remove redundant CI commit entries from manually curated changelog Co-authored-by: marcelocra <2532492+marcelocra@users.noreply.github.com> * fix: restore automatic changelog generation and add explanatory comments Co-authored-by: marcelocra <2532492+marcelocra@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: marcelocra <2532492+marcelocra@users.noreply.github.com> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2f3639b commit a18afa5

2 files changed

Lines changed: 11 additions & 47 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -57,60 +57,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5757

5858
### Documentation
5959

60-
- Update changelog [skip ci]
61-
- Update changelog [skip ci]
62-
- Update changelog [skip ci]
63-
- Update changelog [skip ci]
64-
- Update changelog [skip ci]
65-
- Update changelog [skip ci]
66-
- Update changelog [skip ci]
67-
- Update changelog [skip ci]
68-
- Update changelog [skip ci]
69-
- Update changelog [skip ci]
70-
- Update changelog [skip ci]
71-
- Update changelog [skip ci]
72-
- Update changelog [skip ci]
73-
- Update changelog [skip ci]
74-
- Update changelog [skip ci]
75-
- Update changelog [skip ci]
76-
- Update changelog [skip ci]
77-
- Update changelog [skip ci]
78-
- Update changelog [skip ci]
79-
- Update changelog [skip ci]
80-
- Update changelog [skip ci]
81-
- Update changelog [skip ci]
82-
- Update changelog [skip ci]
83-
- Update changelog [skip ci]
84-
- Update changelog [skip ci]
85-
- Update changelog [skip ci]
86-
- Update changelog [skip ci]
8760
- Update VISUAL_IDENTITY.md to reflect current design implementation (#30)
88-
- Update changelog [skip ci]
89-
- Update changelog [skip ci]
90-
- Update changelog [skip ci]
91-
- Update changelog [skip ci]
92-
- Update changelog [skip ci]
93-
- Update changelog [skip ci]
94-
- Update changelog [skip ci]
9561
- Update documentation to clarify handling of environment variables and default values in DevMagic
96-
- Update changelog [skip ci]
9762
- Enhance Copilot instructions with current stack and best practices (#10)
98-
- Update changelog [skip ci]
99-
- Update changelog [skip ci]
10063
- Refine insights on over-engineering in AI suggestions
101-
- Update changelog [skip ci]
10264
- Add blog post on the pitfalls of over-engineering with AI suggestions
10365
- Add blog post on using containerEnv vs remoteEnv for Dev Container setup
10466
- Save outline for potential blog posts and notes on AI context files
10567
- Archive the comprehensive refactor plan for DevContainer from script to features
10668
- Update docs
10769
- Update installation flow with Mermaid diagram and synchronization notes
108-
- Update changelog [skip ci]
109-
- Update changelog [skip ci]
110-
- Update changelog [skip ci]
111-
- Update changelog [skip ci]
112-
- Update changelog [skip ci]
113-
- Update changelog [skip ci]
11470
- Update Copilot instructions with commit message guidelines and changelog automation details
11571

11672
### Fixed

cliff.toml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,19 @@ conventional_commits = true
6363
filter_unconventional = true
6464
split_commits = false
6565

66+
# Skip tags to preserve manually curated history
67+
skip_tags = "v0\\.1\\.0|v0\\.2\\.0|v0\\.2\\.1"
68+
6669
# Commit parsers for grouping
6770
commit_parsers = [
71+
# Skip automated changelog update commits to prevent recursive entries
72+
{ message = "(?i)^docs.*(?:update changelog|\\[skip ci\\])", skip = true },
73+
# Skip release preparation commits
74+
{ message = "^chore\\(release\\)", skip = true },
75+
# Skip dependency update commits from Dependabot
76+
{ message = "^chore\\(deps\\)", skip = true },
77+
# Skip all CI-related commits
78+
{ message = "^ci", skip = true },
6879
{ message = "^feat", group = "Added" },
6980
{ message = "^fix", group = "Fixed" },
7081
{ message = "^doc", group = "Documentation" },
@@ -73,10 +84,7 @@ commit_parsers = [
7384
{ message = "^refactor", group = "Changed" },
7485
{ message = "^style", group = "Changed" },
7586
{ message = "^test", group = "Changed" },
76-
{ message = "^chore\\(release\\)", skip = true },
77-
{ message = "^chore\\(deps\\)", skip = true },
7887
{ message = "^chore", group = "Changed" },
79-
{ message = "^ci", skip = true },
8088
{ message = "^build", group = "Changed" },
8189
{ body = ".*security", group = "Security" },
8290
{ message = "^revert", group = "Removed" },

0 commit comments

Comments
 (0)