Skip to content

Commit e7b431d

Browse files
authored
devops: fix test triggering (#5458)
1 parent ecd15e6 commit e7b431d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/trigger_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
curl -X POST \
1616
-H "Accept: application/vnd.github.v3+json" \
1717
-H "Authorization: token ${GH_TOKEN}" \
18-
--data '{"event_type": "playwright_tests", "client_payload": {"foo": "${GITHUB_SHA}"}}' \
18+
--data "{\"event_type\": \"playwright_tests\", \"client_payload\": {\"ref\": \"${GITHUB_SHA}\"}}" \
1919
https://api.github.com/repos/microsoft/playwright-internal/dispatches
2020
env:
2121
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)