[workflow] fixed test coverage report (#2611)

pull/2614/head
Frank Lee 2023-02-07 11:02:56 +08:00 committed by GitHub
parent ae86be1fd2
commit b3973b995a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ name: Report Test Coverage
on:
workflow_run:
workflows: [Build]
workflows: [Build on PR]
types:
- completed
@ -56,7 +56,7 @@ jobs:
echo "</details>" >> coverage.txt
- name: 'Comment on PR'
if: steps.unzip.outputs.hasReport == "true"
if: steps.unzip.outputs.hasReport == 'true'
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}