diff --git a/index.ts b/index.ts index b5acba1..4b72cff 100644 --- a/index.ts +++ b/index.ts @@ -51,7 +51,7 @@ const getAbsentMessage = ( commitSha: string, addChangesetUrl: string, releasePlan: ReleasePlan | null, -) => `### ⚠️ No Changeset found +) => `### ⚠️ No Changeset found Latest commit: ${commitSha} @@ -59,7 +59,7 @@ Merging this PR will not cause a version bump for any packages. If these changes ${getReleasePlanMessage(releasePlan)} -[Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). +[Click here to learn what changesets are, and how to add one](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add a changeset to this PR](${addChangesetUrl}) @@ -69,7 +69,7 @@ const getApproveMessage = ( commitSha: string, addChangesetUrl: string, releasePlan: ReleasePlan | null, -) => `### 🦋 Changeset detected +) => `### 🦋 Changeset detected Latest commit: ${commitSha} @@ -77,7 +77,7 @@ Latest commit: ${commitSha} ${getReleasePlanMessage(releasePlan)} -Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). +Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add another changeset to this PR](${addChangesetUrl}) diff --git a/test/index.test.ts b/test/index.test.ts index 6598843..25794f5 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -235,7 +235,7 @@ describe.concurrent("changeset-bot", () => { [ { "body": { - "body": "### 🦋 Changeset detected + "body": "### 🦋 Changeset detected Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -247,7 +247,7 @@ describe.concurrent("changeset-bot", () => { - Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). + Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/changesets/bot/new/test?filename=.changeset/.md&value=---%0A%0A---%0A%0Athing%0A) @@ -288,7 +288,7 @@ describe.concurrent("changeset-bot", () => { [ { "body": { - "body": "### 🦋 Changeset detected + "body": "### 🦋 Changeset detected Latest commit: 10a63035fe8155b86b1060c89873e9a03c6fe673 @@ -300,7 +300,7 @@ describe.concurrent("changeset-bot", () => { - Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). + Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/changesets/bot/new/test?filename=.changeset/.md&value=---%0A%0A---%0A%0Athing%0A) @@ -335,7 +335,7 @@ describe.concurrent("changeset-bot", () => { [ { "body": { - "body": "### 🦋 Changeset detected + "body": "### 🦋 Changeset detected Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -347,7 +347,7 @@ describe.concurrent("changeset-bot", () => { - Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). + Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/changesets/bot/new/test?filename=.changeset/.md&value=---%0A%0A---%0A%0Athing%0A) @@ -380,7 +380,7 @@ describe.concurrent("changeset-bot", () => { [ { "body": { - "body": "### ⚠️ No Changeset found + "body": "### ⚠️ No Changeset found Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -392,7 +392,7 @@ describe.concurrent("changeset-bot", () => { - [Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). + [Click here to learn what changesets are, and how to add one](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add a changeset to this PR](https://github.com/changesets/bot/new/test?filename=.changeset/.md&value=---%0A%0A---%0A%0Athing%0A) @@ -429,7 +429,7 @@ describe.concurrent("changeset-bot", () => { [ { "body": { - "body": "### ⚠️ No Changeset found + "body": "### ⚠️ No Changeset found Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -441,7 +441,7 @@ describe.concurrent("changeset-bot", () => { - [Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). + [Click here to learn what changesets are, and how to add one](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add a changeset to this PR](https://github.com/changesets/bot/new/test?filename=.changeset/.md&value=---%0A%22root-package%22%3A%20patch%0A---%0A%0Athing%0A) @@ -496,7 +496,7 @@ thing [ { "body": { - "body": "### 🦋 Changeset detected + "body": "### 🦋 Changeset detected Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -510,7 +510,7 @@ thing - Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). + Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/changesets/bot/new/test?filename=.changeset/.md&value=---%0A%0A---%0A%0Athing%0A) @@ -557,7 +557,7 @@ thing [ { "body": { - "body": "### ⚠️ No Changeset found + "body": "### ⚠️ No Changeset found Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -569,7 +569,7 @@ thing - [Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). + [Click here to learn what changesets are, and how to add one](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add a changeset to this PR](https://github.com/changesets/bot/new/test?filename=.changeset/.md&value=---%0A%22pkg-a%22%3A%20patch%0A---%0A%0Athing%0A) @@ -616,7 +616,7 @@ thing [ { "body": { - "body": "### ⚠️ No Changeset found + "body": "### ⚠️ No Changeset found Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -628,7 +628,7 @@ thing - [Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). + [Click here to learn what changesets are, and how to add one](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add a changeset to this PR](https://github.com/changesets/bot/new/test?filename=.changeset/.md&value=---%0A%22pkg-ab%22%3A%20patch%0A---%0A%0Athing%0A) @@ -669,7 +669,7 @@ thing [ { "body": { - "body": "### ⚠️ No Changeset found + "body": "### ⚠️ No Changeset found Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -681,7 +681,7 @@ thing - [Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). + [Click here to learn what changesets are, and how to add one](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add a changeset to this PR](https://github.com/changesets/bot/new/test?filename=.changeset/.md&value=---%0A%22pkg-a%22%3A%20patch%0A---%0A%0Athing%0A) @@ -722,7 +722,7 @@ thing [ { "body": { - "body": "### ⚠️ No Changeset found + "body": "### ⚠️ No Changeset found Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -734,7 +734,7 @@ thing - [Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). + [Click here to learn what changesets are, and how to add one](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add a changeset to this PR](https://github.com/changesets/bot/new/test?filename=.changeset/.md&value=---%0A%22root-package%22%3A%20patch%0A---%0A%0Athing%0A) @@ -785,7 +785,7 @@ add feature [ { "body": { - "body": "### 🦋 Changeset detected + "body": "### 🦋 Changeset detected Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -799,7 +799,7 @@ add feature - Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). + Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq). [Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/changesets/bot/new/test?filename=.changeset/.md&value=---%0A%0A---%0A%0Athing%0A)