diff --git a/.changeset/dependabot-0c71dee.md b/.changeset/dependabot-0c71dee.md index adae011546..b2d7f3dc2a 100644 --- a/.changeset/dependabot-0c71dee.md +++ b/.changeset/dependabot-0c71dee.md @@ -2,4 +2,4 @@ '@backstage/backend-common': patch --- -build(deps-dev): bump `http-errors` from 1.8.0 to 2.0.0 \ No newline at end of file +build(deps-dev): bump `http-errors` from 1.8.0 to 2.0.0 diff --git a/.github/workflows/dependabot-changeset-maker.yml b/.github/workflows/dependabot-changeset-maker.yml index dcf9f47a54..e38ce12c6d 100644 --- a/.github/workflows/dependabot-changeset-maker.yml +++ b/.github/workflows/dependabot-changeset-maker.yml @@ -34,8 +34,8 @@ jobs: async function createChangeset(fileName, commitMessage, packages) { const pkgs = packages.map(pkg => `'${pkg}': patch`).join('\n'); - const message = commitMessage.replace(/([bB])ump ([\S]+)/, '$1ump `$2`'); - const body = `---\n${pkgs}\n---\n\n${message}`; + const message = commitMessage.replace(/([bB])ump ([\S]+)/, '$1ump `$2`').trim(); + const body = `---\n${pkgs}\n---\n\n${message}\n`; await fs.writeFile(fileName, body); }