Skip to content

Commit

Permalink
devops: properly trigger tests on internal test runners (#5453)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Feb 12, 2021
1 parent 291b6d0 commit 6326d6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/trigger_tests.yml
Expand Up @@ -15,8 +15,7 @@ jobs:
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-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
env:
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
GH_REF: ${{ github.ref }}

0 comments on commit 6326d6f

Please sign in to comment.