Skip to content

Commit c5c3b91

Browse files
authored
Merge pull request #160 from aramissennyeydd/sennyeya/docs-requirement-on-minor-changes
chore: add a note about documentation to changesets
2 parents 25145dd + 3069c5d commit c5c3b91

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

changeset-feedback/generateFeedback.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,14 @@ export function formatSummary(
211211

212212
let output = '';
213213

214+
if (
215+
changedPackages.length > 0 &&
216+
changesets.some(e => [...e.bumps.values()].some(e => e !== 'patch'))
217+
) {
218+
output += `> [!IMPORTANT]
219+
> This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior.`;
220+
}
221+
214222
output += formatSection(
215223
`## Missing Changesets
216224

0 commit comments

Comments
 (0)