-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPCT-192: Automatically create changelog based on the tags (#53)
https://issues.redhat.com/browse/OPCT-192 The goal of this card is to automatically create the changelog based on the commit standards. The labels should be defined to fit OPCT project. The existing is suggested, it would be nice to be adapted for the same used by OCP projects
- Loading branch information
Showing
2 changed files
with
87 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"categories": [ | ||
{ | ||
"title": "## 🚀 Features", | ||
"labels": ["feature", "kind/feature"] | ||
}, | ||
{ | ||
"title": "## 🛰 Design / API Change", | ||
"labels": ["design", "kind/design", "kind/api-change"] | ||
}, | ||
{ | ||
"title": "## 🐛 Fixes", | ||
"labels": ["fix", "kind/bug"] | ||
}, | ||
{ | ||
"title": "## 🧪 Tests", | ||
"labels": ["test", "kind/flake", "kind/failing-test"] | ||
}, | ||
{ | ||
"title": "## ⛏ Cleanup", | ||
"labels": ["cleanup", "kind/cleanup"] | ||
}, | ||
{ | ||
"title": "## 📦 Dependencies", | ||
"labels": ["dependencies", "kind/dependency-change"] | ||
}, | ||
{ | ||
"title": "## 📜 Documentation", | ||
"labels": ["docs", "documentation", "kind/documentation"] | ||
}, | ||
{ | ||
"title": "## 💬 Other", | ||
"labels": ["other"] | ||
} | ||
], | ||
"ignore_labels": [ | ||
"ignore" | ||
], | ||
"sort": { | ||
"order": "ASC", | ||
"on_property": "mergedAt" | ||
}, | ||
"template": "${{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n${{UNCATEGORIZED}}\n</details>", | ||
"pr_template": "- ${{TITLE}}\n - PR: #${{NUMBER}}", | ||
"empty_template": "- no changes", | ||
"label_extractor": [ | ||
{ | ||
"pattern": "(.) (.+)", | ||
"target": "$1", | ||
"flags": "gu" | ||
}, | ||
{ | ||
"pattern": "\\[Issue\\]", | ||
"on_property": "title", | ||
"method": "match" | ||
} | ||
], | ||
"duplicate_filter": { | ||
"pattern": "\\[ABC-....\\]", | ||
"on_property": "title", | ||
"method": "match" | ||
}, | ||
"transformers": [ | ||
{ | ||
"pattern": "[\\-\\*] (\\[(...|TEST|CI|SKIP)\\])( )?(.+?)\n(.+?[\\-\\*] )(.+)", | ||
"target": "- $4\n - $6" | ||
} | ||
], | ||
"trim_values": false, | ||
"max_tags_to_fetch": 200, | ||
"max_pull_requests": 200, | ||
"max_back_track_time_days": 365 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters