From 6326d6f3ac7350dcea85e00c27b0735663fe5a7a Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 12 Feb 2021 15:52:48 -0800 Subject: [PATCH] devops: properly trigger tests on internal test runners (#5453) --- .github/workflows/trigger_tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/trigger_tests.yml b/.github/workflows/trigger_tests.yml index 21f454a541..66a13b38c5 100644 --- a/.github/workflows/trigger_tests.yml +++ b/.github/workflows/trigger_tests.yml @@ -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 }}