devops: properly trigger tests on internal test runners (#5453)
This commit is contained in:
parent
291b6d00f8
commit
6326d6f3ac
3
.github/workflows/trigger_tests.yml
vendored
3
.github/workflows/trigger_tests.yml
vendored
|
|
@ -15,8 +15,7 @@ jobs:
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Accept: application/vnd.github.v3+json" \
|
-H "Accept: application/vnd.github.v3+json" \
|
||||||
-H "Authorization: token ${GH_TOKEN}" \
|
-H "Authorization: token ${GH_TOKEN}" \
|
||||||
--data '{"event_type": "playwright_tests", "client_payload": {"foo": "${GH_REF}"}}' \
|
--data '{"event_type": "playwright_tests", "client_payload": {"foo": "${GITHUB_SHA}"}}' \
|
||||||
https://api.github.com/repos/microsoft/playwright-internal/dispatches
|
https://api.github.com/repos/microsoft/playwright-internal/dispatches
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
|
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
|
||||||
GH_REF: ${{ github.ref }}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue