From bf1e61556ef6fb89f4ac9f76fd0a3be4fa7e76af Mon Sep 17 00:00:00 2001 From: bluwy Date: Wed, 12 Aug 2026 09:34:46 +0800 Subject: [PATCH 1/2] Update message links to new faq --- index.ts | 8 ++++---- test/index.test.ts | 22 +++++++++++----------- 2 files changed, 15 insertions(+), 15 deletions(-) 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..9591820 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -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) @@ -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) @@ -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) @@ -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) @@ -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) @@ -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) @@ -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) @@ -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) @@ -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) @@ -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) @@ -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) From 58d20587ab195294965819b7fb84fca72dca34a3 Mon Sep 17 00:00:00 2001 From: bluwy Date: Wed, 12 Aug 2026 09:39:32 +0800 Subject: [PATCH 2/2] Update test --- test/index.test.ts | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/test/index.test.ts b/test/index.test.ts index 9591820..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://changesets.dev/faq). + 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://changesets.dev/faq). + 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://changesets.dev/faq). + 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 @@ -429,7 +429,7 @@ describe.concurrent("changeset-bot", () => { [ { "body": { - "body": "### ⚠️ No Changeset found + "body": "### ⚠️ No Changeset found Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -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://changesets.dev/faq). + 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 @@ -616,7 +616,7 @@ thing [ { "body": { - "body": "### ⚠️ No Changeset found + "body": "### ⚠️ No Changeset found Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -669,7 +669,7 @@ thing [ { "body": { - "body": "### ⚠️ No Changeset found + "body": "### ⚠️ No Changeset found Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -722,7 +722,7 @@ thing [ { "body": { - "body": "### ⚠️ No Changeset found + "body": "### ⚠️ No Changeset found Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540 @@ -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://changesets.dev/faq). + 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)