Skip to content

Commit

Permalink
prMessage: suggest 👍 reaction to important pr (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
sedlund authored Aug 6, 2024
1 parent 36bba4f commit 503f7b0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/Update.hs
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,13 @@ prMessage updateEnv isBroken metaDescription metaHomepage metaChangelog rewriteM
###### Maintainer pings

$maintainersCc

---

Add a :+1: [reaction] to [pull requests you find important].

[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
[pull requests you find important]: https://github.com/NixOS/nixpkgs/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc
|]

jqBin :: String
Expand Down
9 changes: 8 additions & 1 deletion test_data/expected_pr_description_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,11 @@ nixpkgs-review comment body

###### Maintainer pings

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).
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).

---

Add a :+1: [reaction] to [pull requests you find important].

[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
[pull requests you find important]: https://github.com/NixOS/nixpkgs/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc
9 changes: 8 additions & 1 deletion test_data/expected_pr_description_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,11 @@ NixPkgs review skipped

###### Maintainer pings

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).
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).

---

Add a :+1: [reaction] to [pull requests you find important].

[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
[pull requests you find important]: https://github.com/NixOS/nixpkgs/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc

0 comments on commit 503f7b0

Please sign in to comment.