File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lib/opencov/services/github Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11defmodule Librecov.Services.Github.Checks do
22 require Logger
3+ import Librecov.Services.Github.Config
34 alias ExOctocat.Connection
45 alias ExOctocat.Api.Checks
56 alias Librecov.Build
@@ -40,7 +41,7 @@ defmodule Librecov.Services.Github.Checks do
4041 conn
4142 |> Checks . checks_create ( owner , repo ,
4243 body: % {
43- name: "LibreCov /commit" ,
44+ name: "#{ github_app_name ( ) } /commit" ,
4445 head_sha: commit ,
4546 conclusion: "success" ,
4647 output: % {
@@ -53,7 +54,7 @@ defmodule Librecov.Services.Github.Checks do
5354 conn
5455 |> Checks . checks_create ( owner , repo ,
5556 body: % {
56- name: "LibreCov /diff" ,
57+ name: "#{ github_app_name ( ) } /diff" ,
5758 head_sha: commit ,
5859 conclusion: coverage_diff ( coverage , real_previous_coverage ) |> diff_conclusion ( ) ,
5960 output: % {
@@ -80,7 +81,7 @@ defmodule Librecov.Services.Github.Checks do
8081 |> Connection . new ( )
8182 |> Checks . checks_create ( owner , repo ,
8283 body: % {
83- name: "LibreCov /commit" ,
84+ name: "#{ github_app_name ( ) } /commit" ,
8485 head_sha: commit ,
8586 output: % {
8687 title: "Waiting for tests to finish." ,
You can’t perform that action at this time.
0 commit comments