Issue Fix
This commit is contained in:
parent
7f8240f656
commit
0439767fe5
1 changed files with 2 additions and 1 deletions
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
@ -61,8 +61,9 @@ 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 "{ `"body`": `"${comment}`" }"
|
echo ">>: { `"body`": `"${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"
|
||||||
|
echo "url>> ${url}"
|
||||||
$headers = @{
|
$headers = @{
|
||||||
"Authorization" = "token ${env:GITHUB_TOKEN}"
|
"Authorization" = "token ${env:GITHUB_TOKEN}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue