Skip to content

Commit

Permalink
Fix typo in code-coverage-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasdewally committed Feb 4, 2025
1 parent bb4f554 commit e093526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-coverage-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@ jobs:
run: |
# url of run, to use for summary
# the api call returns the url of the job which does not show the summary, so we change it to the run url instead, which does.
MAIN_URL=$(gh api -X GET -F 'filter=latest' -F 'status=completed' -F 'check_name=Documentation Coverage' \
MAIN_URL=$(gh api -X GET -F 'filter=latest' -F 'status=completed' -F 'check_name=Documentation' \
-H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" \
/repos/conjure-cp/conjure-oxide/commits/main/check-runs |\
jq '.check_runs[0] | .html_url | split("/")[0:-2] | join("/")')
PR_URL=$(gh api -X GET -F 'filter=latest' -F 'status=completed' -F 'check_name=Documentation Coverage' \
PR_URL=$(gh api -X GET -F 'filter=latest' -F 'status=completed' -F 'check_name=Documentation' \
-H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" \
/repos/conjure-cp/conjure-oxide/commits/${{steps.sha.outputs.result}}/check-runs |\
jq '.check_runs[0] | .html_url | split("/")[0:-2] | join("/")')
Expand Down

0 comments on commit e093526

Please sign in to comment.