mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 23:06:49 +01:00
adds screenshot status with url, updates skill
This commit is contained in:
committed by
Henning Dieterichs
parent
234d552954
commit
89cd7ec4bb
7
.github/workflows/screenshot-test.yml
vendored
7
.github/workflows/screenshot-test.yml
vendored
@@ -12,6 +12,7 @@ permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
checks: write
|
||||
statuses: write
|
||||
|
||||
concurrency:
|
||||
group: screenshots-${{ github.event.pull_request.number || github.sha }}
|
||||
@@ -110,6 +111,12 @@ jobs:
|
||||
EOF
|
||||
fi
|
||||
|
||||
DETAILS_URL="https://hediet-ghartifactpreview.azurewebsites.net/${{ github.repository }}/run/${{ github.run_id }}/component-explorer/___explorer.html?report=./screenshot-report/report.json"
|
||||
gh api "repos/${{ github.repository }}/statuses/$SHA" \
|
||||
--input - <<EOF
|
||||
{"state":"success","target_url":"$DETAILS_URL","description":"$TITLE","context":"screenshots / explorer"}
|
||||
EOF
|
||||
|
||||
- name: Post summary
|
||||
run: |
|
||||
if [ -f test/componentFixtures/.screenshots/report/report.md ]; then
|
||||
|
||||
Reference in New Issue
Block a user