Skip to content

Commit 470f46d

Browse files
authored
bug-minimizer: link to run-coq-bug-minimizer/actions more (#329)
Follow up on #312
1 parent 26b1e52 commit 470f46d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/actions.ml

+9-4
Original file line numberDiff line numberDiff line change
@@ -1679,9 +1679,12 @@ let minimize_failed_tests ~bot_info ~owner ~repo ~pr_number
16791679
"I was unable to minimize any of the CI targets that you \
16801680
requested." ^ try_again_msg ^ "\n" ^ msg
16811681
| _ :: _, _ ->
1682+
(* TODO: change https://github.com/coq-community/run-coq-bug-minimizer/actions to a link to the particular action run when we can get that information *)
16821683
f
1683-
"I am now %s minimization at commit %s on requested %s %s. \
1684-
I'll come back to you with the results once it's done.%s\n\n\
1684+
"I am now [%s \
1685+
minimization](https://github.com/coq-community/run-coq-bug-minimizer/actions) \
1686+
at commit %s on requested %s %s. I'll come back to you \
1687+
with the results once it's done.%s\n\n\
16851688
%s"
16861689
(if Option.is_none bug_file then "running" else "resuming")
16871690
head
@@ -1715,9 +1718,11 @@ let minimize_failed_tests ~bot_info ~owner ~repo ~pr_number
17151718
head try_again_msg failed_minimization_description
17161719
|> Lwt.return_some
17171720
| RequestSuggested, _ :: _, _ ->
1721+
(* TODO: change https://github.com/coq-community/run-coq-bug-minimizer/actions to a link to the particular action run when we can get that information *)
17181722
f
1719-
"I have initiated minimization at commit %s for the suggested \
1720-
%s %s as requested.%s\n\n\
1723+
"I have [initiated \
1724+
minimization](https://github.com/coq-community/run-coq-bug-minimizer/actions) \
1725+
at commit %s for the suggested %s %s as requested.%s\n\n\
17211726
%s"
17221727
head
17231728
(pluralize "target" jobs_minimized)

0 commit comments

Comments
 (0)