Skip to content

Commit

Permalink
chore: use "feat" and "fix" in changelogs to make important updates m…
Browse files Browse the repository at this point in the history
…ore visible
  • Loading branch information
xiehan authored and mergify[bot] committed Oct 9, 2023
1 parent e26801f commit 8e4496f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/lib/collect-changes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];

Expand All @@ -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`;
Expand Down

0 comments on commit 8e4496f

Please sign in to comment.