diff --git a/tools/dependabot/__tests__/generate-dependabot-pr-changesets.test.ts b/tools/dependabot/__tests__/generate-dependabot-pr-changesets.test.ts index 801d65fd8dce..efb15dc1c93a 100644 --- a/tools/dependabot/__tests__/generate-dependabot-pr-changesets.test.ts +++ b/tools/dependabot/__tests__/generate-dependabot-pr-changesets.test.ts @@ -163,10 +163,10 @@ describe("writeChangeSet()", () => { `".changeset/dependabot-update-1234.md"` ); expect((writeFileSync as Mock).mock.lastCall[1]).toMatchInlineSnapshot(` - " - --- + "--- "package-name": patch --- + chore: update dependencies of "@namespace/package" package The following dependency versions have been updated: diff --git a/tools/dependabot/generate-dependabot-pr-changesets.ts b/tools/dependabot/generate-dependabot-pr-changesets.ts index ef912e9c1767..77e129cd8496 100644 --- a/tools/dependabot/generate-dependabot-pr-changesets.ts +++ b/tools/dependabot/generate-dependabot-pr-changesets.ts @@ -155,7 +155,7 @@ export function writeChangeSet( ): void { writeFileSync( `.changeset/dependabot-update-${prNumber}.md`, - "\n" + changesetHeader + "\n" + commitMessage + "\n" + changesetHeader + "\n\n" + commitMessage + "\n" ); }