From 7d0da471ae38be40b27f08e31feb6892aaae420c Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Wed, 4 Oct 2023 14:41:57 +0200 Subject: [PATCH] chore: use "feat" and "fix" in changelogs to make important updates more visible --- .github/lib/collect-changes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/lib/collect-changes.js b/.github/lib/collect-changes.js index e825ab3..bdf59c0 100644 --- a/.github/lib/collect-changes.js +++ b/.github/lib/collect-changes.js @@ -103,7 +103,7 @@ module.exports = async ({ core, exec }) => { hasBreakingChanges ? "Found breaking changes!" : "No breaking changes." ); - let prefix = `chore(deps)${hasBreakingChanges ? "!" : ""}: Updated `; + let prefix = `chore(deps)${hasBreakingChanges ? "!" : ""}: update `; let commitMessageParts = []; @@ -123,9 +123,11 @@ module.exports = async ({ core, exec }) => { switch (res.key) { case "terraformProvider": name = `provider version`; + prefix = `${hasBreakingChanges ? "feat!" : "fix"}: update `; break; case "cdktfVersion": name = `CDKTF version`; + prefix = `${hasBreakingChanges ? "feat!" : "fix"}: update `; break; case "constructsVersion": name = `Constructs version`;