🔧 Fix context object construction in Playground workflow script

This commit is contained in:
Daniel Dudzic 2025-08-12 20:04:48 +02:00
parent 527f414378
commit 0456f5bbbd
No known key found for this signature in database
GPG key ID: 31B40D33E3465483

View file

@ -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
}
}
}
};