Skip to content

Commit 1da251c

Browse files
authored
Update message links to new faq (#129)
* Update message links to new faq * Update test
1 parent c4cadcb commit 1da251c

2 files changed

Lines changed: 26 additions & 26 deletions

File tree

index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ const getAbsentMessage = (
5151
commitSha: string,
5252
addChangesetUrl: string,
5353
releasePlan: ReleasePlan | null,
54-
) => `### ⚠️ No Changeset found
54+
) => `### ⚠️ No Changeset found
5555
5656
Latest commit: ${commitSha}
5757
5858
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.**
5959
6060
${getReleasePlanMessage(releasePlan)}
6161
62-
[Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
62+
[Click here to learn what changesets are, and how to add one](https://changesets.dev/faq).
6363
6464
[Click here if you're a maintainer who wants to add a changeset to this PR](${addChangesetUrl})
6565
@@ -69,15 +69,15 @@ const getApproveMessage = (
6969
commitSha: string,
7070
addChangesetUrl: string,
7171
releasePlan: ReleasePlan | null,
72-
) => `### 🦋 Changeset detected
72+
) => `### 🦋 Changeset detected
7373
7474
Latest commit: ${commitSha}
7575
7676
**The changes in this PR will be included in the next version bump.**
7777
7878
${getReleasePlanMessage(releasePlan)}
7979
80-
Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
80+
Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq).
8181
8282
[Click here if you're a maintainer who wants to add another changeset to this PR](${addChangesetUrl})
8383

test/index.test.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ describe.concurrent("changeset-bot", () => {
235235
[
236236
{
237237
"body": {
238-
"body": "### 🦋 Changeset detected
238+
"body": "### 🦋 Changeset detected
239239
240240
Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540
241241
@@ -247,7 +247,7 @@ describe.concurrent("changeset-bot", () => {
247247
248248
</details>
249249
250-
Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
250+
Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq).
251251
252252
[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)
253253
@@ -288,7 +288,7 @@ describe.concurrent("changeset-bot", () => {
288288
[
289289
{
290290
"body": {
291-
"body": "### 🦋 Changeset detected
291+
"body": "### 🦋 Changeset detected
292292
293293
Latest commit: 10a63035fe8155b86b1060c89873e9a03c6fe673
294294
@@ -300,7 +300,7 @@ describe.concurrent("changeset-bot", () => {
300300
301301
</details>
302302
303-
Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
303+
Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq).
304304
305305
[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)
306306
@@ -335,7 +335,7 @@ describe.concurrent("changeset-bot", () => {
335335
[
336336
{
337337
"body": {
338-
"body": "### 🦋 Changeset detected
338+
"body": "### 🦋 Changeset detected
339339
340340
Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540
341341
@@ -347,7 +347,7 @@ describe.concurrent("changeset-bot", () => {
347347
348348
</details>
349349
350-
Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
350+
Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq).
351351
352352
[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)
353353
@@ -380,7 +380,7 @@ describe.concurrent("changeset-bot", () => {
380380
[
381381
{
382382
"body": {
383-
"body": "### ⚠️ No Changeset found
383+
"body": "### ⚠️ No Changeset found
384384
385385
Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540
386386
@@ -392,7 +392,7 @@ describe.concurrent("changeset-bot", () => {
392392
393393
</details>
394394
395-
[Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
395+
[Click here to learn what changesets are, and how to add one](https://changesets.dev/faq).
396396
397397
[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)
398398
@@ -429,7 +429,7 @@ describe.concurrent("changeset-bot", () => {
429429
[
430430
{
431431
"body": {
432-
"body": "### ⚠️ No Changeset found
432+
"body": "### ⚠️ No Changeset found
433433
434434
Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540
435435
@@ -441,7 +441,7 @@ describe.concurrent("changeset-bot", () => {
441441
442442
</details>
443443
444-
[Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
444+
[Click here to learn what changesets are, and how to add one](https://changesets.dev/faq).
445445
446446
[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)
447447
@@ -496,7 +496,7 @@ thing
496496
[
497497
{
498498
"body": {
499-
"body": "### 🦋 Changeset detected
499+
"body": "### 🦋 Changeset detected
500500
501501
Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540
502502
@@ -510,7 +510,7 @@ thing
510510
511511
</details>
512512
513-
Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
513+
Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq).
514514
515515
[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)
516516
@@ -557,7 +557,7 @@ thing
557557
[
558558
{
559559
"body": {
560-
"body": "### ⚠️ No Changeset found
560+
"body": "### ⚠️ No Changeset found
561561
562562
Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540
563563
@@ -569,7 +569,7 @@ thing
569569
570570
</details>
571571
572-
[Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
572+
[Click here to learn what changesets are, and how to add one](https://changesets.dev/faq).
573573
574574
[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)
575575
@@ -616,7 +616,7 @@ thing
616616
[
617617
{
618618
"body": {
619-
"body": "### ⚠️ No Changeset found
619+
"body": "### ⚠️ No Changeset found
620620
621621
Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540
622622
@@ -628,7 +628,7 @@ thing
628628
629629
</details>
630630
631-
[Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
631+
[Click here to learn what changesets are, and how to add one](https://changesets.dev/faq).
632632
633633
[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)
634634
@@ -669,7 +669,7 @@ thing
669669
[
670670
{
671671
"body": {
672-
"body": "### ⚠️ No Changeset found
672+
"body": "### ⚠️ No Changeset found
673673
674674
Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540
675675
@@ -681,7 +681,7 @@ thing
681681
682682
</details>
683683
684-
[Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
684+
[Click here to learn what changesets are, and how to add one](https://changesets.dev/faq).
685685
686686
[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)
687687
@@ -722,7 +722,7 @@ thing
722722
[
723723
{
724724
"body": {
725-
"body": "### ⚠️ No Changeset found
725+
"body": "### ⚠️ No Changeset found
726726
727727
Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540
728728
@@ -734,7 +734,7 @@ thing
734734
735735
</details>
736736
737-
[Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
737+
[Click here to learn what changesets are, and how to add one](https://changesets.dev/faq).
738738
739739
[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)
740740
@@ -785,7 +785,7 @@ add feature
785785
[
786786
{
787787
"body": {
788-
"body": "### 🦋 Changeset detected
788+
"body": "### 🦋 Changeset detected
789789
790790
Latest commit: c4d7edfd758bd44f7d4264fb55f6033f56d79540
791791
@@ -799,7 +799,7 @@ add feature
799799
800800
</details>
801801
802-
Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
802+
Not sure what this means? [Click here to learn what changesets are](https://changesets.dev/faq).
803803
804804
[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)
805805

0 commit comments

Comments
 (0)