mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 23:35:54 +01:00
Post url to review screenshots
This commit is contained in:
committed by
Henning Dieterichs
parent
bdd6e80b9f
commit
e50a372498
4
.github/workflows/screenshot-test.yml
vendored
4
.github/workflows/screenshot-test.yml
vendored
@@ -101,10 +101,12 @@ jobs:
|
||||
CHECK_RUN_ID=$(gh api "repos/${{ github.repository }}/commits/$SHA/check-runs" \
|
||||
--jq '.check_runs[] | select(.name == "screenshots") | .id')
|
||||
|
||||
DETAILS_URL="https://hediet-ghartifactpreview.azurewebsites.net/${{ github.repository }}/run/${{ github.run_id }}/component-explorer/___explorer.html?report=./screenshot-report/report.json"
|
||||
|
||||
if [ -n "$CHECK_RUN_ID" ]; then
|
||||
gh api "repos/${{ github.repository }}/check-runs/$CHECK_RUN_ID" \
|
||||
-X PATCH --input - <<EOF
|
||||
{"output":{"title":"$TITLE","summary":"$TITLE"}}
|
||||
{"details_url":"$DETAILS_URL","output":{"title":"$TITLE","summary":"$TITLE"}}
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user