Issue Fix

This commit is contained in:
raghaves 2020-06-13 12:38:05 +05:30
parent 2f3751f37e
commit 754444a31b

View file

@ -59,6 +59,7 @@ jobs:
$tbl_md = $coverage_result[($start_index+1)..($end_index-1)] -join "\n" $tbl_md = $coverage_result[($start_index+1)..($end_index-1)] -join "\n"
$summary = $coverage_result[($end_index + 1)..$count] -join "\n" $summary = $coverage_result[($end_index + 1)..$count] -join "\n"
$comment = $tbl_md + "\n" + $summary $comment = $tbl_md + "\n" + $summary
echo "> ${comment}"
$url = "https://api.github.com/repos/${env:GITHUB_REPOSITORY}/issues/${env:PR_NUMBER}/comments" $url = "https://api.github.com/repos/${env:GITHUB_REPOSITORY}/issues/${env:PR_NUMBER}/comments"
$headers = @{ $headers = @{
"Authorization" = "token ${env:GITHUB_TOKEN}" "Authorization" = "token ${env:GITHUB_TOKEN}"