From b528afd66352a2c4717f5b082b2c256ae8f9fa6e Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sun, 7 Apr 2024 10:44:41 +1000 Subject: [PATCH] update repo default branch --- src/Update.hs | 2 +- test_data/expected_pr_description_1.md | 2 +- test_data/expected_pr_description_2.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Update.hs b/src/Update.hs index 5fe9447..9f4f60b 100644 --- a/src/Update.hs +++ b/src/Update.hs @@ -492,7 +492,7 @@ prMessage updateEnv isBroken metaDescription metaHomepage metaChangelog rewriteM rewriteMsgsLine = foldl (\ms m -> ms <> T.pack "\n- " <> m) "\n###### Updates performed" rewriteMsgs maintainersCc = if not (T.null maintainers) - then "cc " <> maintainers <> " for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do)." + then "cc " <> maintainers <> " for [testing](https://github.com/ryantm/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do)." else "" releaseUrlMessage = if releaseUrl == T.empty diff --git a/test_data/expected_pr_description_1.md b/test_data/expected_pr_description_1.md index 8d8dd6e..228cf91 100644 --- a/test_data/expected_pr_description_1.md +++ b/test_data/expected_pr_description_1.md @@ -84,4 +84,4 @@ nixpkgs-review comment body ###### Maintainer pings -cc @maintainer1 for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do). \ No newline at end of file +cc @maintainer1 for [testing](https://github.com/ryantm/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do). \ No newline at end of file diff --git a/test_data/expected_pr_description_2.md b/test_data/expected_pr_description_2.md index 70c020e..78cb475 100644 --- a/test_data/expected_pr_description_2.md +++ b/test_data/expected_pr_description_2.md @@ -77,4 +77,4 @@ NixPkgs review skipped ###### Maintainer pings -cc @maintainer1 for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do). \ No newline at end of file +cc @maintainer1 for [testing](https://github.com/ryantm/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do). \ No newline at end of file