Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ const getAbsentMessage = (
commitSha: string,
addChangesetUrl: string,
releasePlan: ReleasePlan | null,
) => `### ⚠️ No Changeset found
) => `### ⚠️ No Changeset found

Latest commit: ${commitSha}

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. **If these changes should result in a version bump, you need to add a changeset.**

${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})

Expand All @@ -69,15 +69,15 @@ const getApproveMessage = (
commitSha: string,
addChangesetUrl: string,
releasePlan: ReleasePlan | null,
) => `### 🦋 Changeset detected
) => `### 🦋 Changeset detected

Latest commit: ${commitSha}

**The changes in this PR will be included in the next version bump.**

${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})

Expand Down
44 changes: 22 additions & 22 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ describe.concurrent("changeset-bot", () => {
[
{
"body": {
"body": "### 🦋 Changeset detected
"body": "### 🦋 Changeset detected

Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540

Expand All @@ -247,7 +247,7 @@ describe.concurrent("changeset-bot", () => {

</details>

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/<CHANGESET_FILE>.md&value=---%0A%0A---%0A%0Athing%0A)

Expand Down Expand Up @@ -288,7 +288,7 @@ describe.concurrent("changeset-bot", () => {
[
{
"body": {
"body": "### 🦋 Changeset detected
"body": "### 🦋 Changeset detected

Latest commit: 10a63035fe8155b86b1060c89873e9a03c6fe673

Expand All @@ -300,7 +300,7 @@ describe.concurrent("changeset-bot", () => {

</details>

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/<CHANGESET_FILE>.md&value=---%0A%0A---%0A%0Athing%0A)

Expand Down Expand Up @@ -335,7 +335,7 @@ describe.concurrent("changeset-bot", () => {
[
{
"body": {
"body": "### 🦋 Changeset detected
"body": "### 🦋 Changeset detected

Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540

Expand All @@ -347,7 +347,7 @@ describe.concurrent("changeset-bot", () => {

</details>

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/<CHANGESET_FILE>.md&value=---%0A%0A---%0A%0Athing%0A)

Expand Down Expand Up @@ -380,7 +380,7 @@ describe.concurrent("changeset-bot", () => {
[
{
"body": {
"body": "### ⚠️ No Changeset found
"body": "### ⚠️ No Changeset found

Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540

Expand All @@ -392,7 +392,7 @@ describe.concurrent("changeset-bot", () => {

</details>

[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/<CHANGESET_FILE>.md&value=---%0A%0A---%0A%0Athing%0A)

Expand Down Expand Up @@ -429,7 +429,7 @@ describe.concurrent("changeset-bot", () => {
[
{
"body": {
"body": "### ⚠️ No Changeset found
"body": "### ⚠️ No Changeset found

Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540

Expand All @@ -441,7 +441,7 @@ describe.concurrent("changeset-bot", () => {

</details>

[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/<CHANGESET_FILE>.md&value=---%0A%22root-package%22%3A%20patch%0A---%0A%0Athing%0A)

Expand Down Expand Up @@ -496,7 +496,7 @@ thing
[
{
"body": {
"body": "### 🦋 Changeset detected
"body": "### 🦋 Changeset detected

Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540

Expand All @@ -510,7 +510,7 @@ thing

</details>

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/<CHANGESET_FILE>.md&value=---%0A%0A---%0A%0Athing%0A)

Expand Down Expand Up @@ -557,7 +557,7 @@ thing
[
{
"body": {
"body": "### ⚠️ No Changeset found
"body": "### ⚠️ No Changeset found

Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540

Expand All @@ -569,7 +569,7 @@ thing

</details>

[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/<CHANGESET_FILE>.md&value=---%0A%22pkg-a%22%3A%20patch%0A---%0A%0Athing%0A)

Expand Down Expand Up @@ -616,7 +616,7 @@ thing
[
{
"body": {
"body": "### ⚠️ No Changeset found
"body": "### ⚠️ No Changeset found

Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540

Expand All @@ -628,7 +628,7 @@ thing

</details>

[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/<CHANGESET_FILE>.md&value=---%0A%22pkg-ab%22%3A%20patch%0A---%0A%0Athing%0A)

Expand Down Expand Up @@ -669,7 +669,7 @@ thing
[
{
"body": {
"body": "### ⚠️ No Changeset found
"body": "### ⚠️ No Changeset found

Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540

Expand All @@ -681,7 +681,7 @@ thing

</details>

[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/<CHANGESET_FILE>.md&value=---%0A%22pkg-a%22%3A%20patch%0A---%0A%0Athing%0A)

Expand Down Expand Up @@ -722,7 +722,7 @@ thing
[
{
"body": {
"body": "### ⚠️ No Changeset found
"body": "### ⚠️ No Changeset found

Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540

Expand All @@ -734,7 +734,7 @@ thing

</details>

[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/<CHANGESET_FILE>.md&value=---%0A%22root-package%22%3A%20patch%0A---%0A%0Athing%0A)

Expand Down Expand Up @@ -785,7 +785,7 @@ add feature
[
{
"body": {
"body": "### 🦋 Changeset detected
"body": "### 🦋 Changeset detected

Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540

Expand All @@ -799,7 +799,7 @@ add feature

</details>

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/<CHANGESET_FILE>.md&value=---%0A%0A---%0A%0Athing%0A)

Expand Down