diff --git a/.github/workflows/pr-playground-demo.yml b/.github/workflows/pr-playground-demo.yml index aaac09d76..aecd2c631 100644 --- a/.github/workflows/pr-playground-demo.yml +++ b/.github/workflows/pr-playground-demo.yml @@ -142,10 +142,21 @@ jobs: process.env.ARTIFACT_NAME = artifact_name; const updatedContext = { - ...context, + repo: { + owner: context.repo.owner, + repo: context.repo.repo + }, issue: { - ...context.issue, number: parseInt(pr_number, 10) + }, + runId: context.runId, + payload: { + pull_request: { + number: parseInt(pr_number, 10), + head: { + sha: context.sha + } + } } };