这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/check_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ jobs:
echo "invalid=$(jq -r '.invalid_facade_calls | length' api-coverage.json)" >> $GITHUB_OUTPUT
echo "coverage=$(jq -r '.coverage_percentage' api-coverage.json)" >> $GITHUB_OUTPUT

echo "body<<EOF" >> $GITHUB_OUTPUT
jq . api-coverage.json >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
{
echo "json<<JSONEOF"
jq '.' api-coverage.json
echo "JSONEOF"
} >> $GITHUB_OUTPUT

- name: Create Pull Request if changes
uses: peter-evans/create-pull-request@v6
Expand All @@ -87,9 +89,7 @@ jobs:

<details>
<summary>📋 Full JSON report</summary>
```json
${{ steps.coverage.outputs.body }}
```
<pre><code class="language-json">${{ steps.coverage.outputs.json }}</code></pre>
</details>
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
draft: false
Expand Down