mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Merge pull request #3593 from woocommerce/wordpress-playground-update-paths-part-4
Some checks failed
CI / PHP 7.4 (push) Has been cancelled
CI / PHP 8.0 (push) Has been cancelled
CI / PHP 8.1 (push) Has been cancelled
CI / PHP 8.2 (push) Has been cancelled
CI / PHP 8.3 (push) Has been cancelled
CI / PHP 8.4 (push) Has been cancelled
PR Playground Demo / prepare_version (push) Has been cancelled
PR Playground Demo / build_plugin (push) Has been cancelled
PR Playground Demo / create_archive (push) Has been cancelled
PR Playground Demo / Comment on PR with Playground details (push) Has been cancelled
Some checks failed
CI / PHP 7.4 (push) Has been cancelled
CI / PHP 8.0 (push) Has been cancelled
CI / PHP 8.1 (push) Has been cancelled
CI / PHP 8.2 (push) Has been cancelled
CI / PHP 8.3 (push) Has been cancelled
CI / PHP 8.4 (push) Has been cancelled
PR Playground Demo / prepare_version (push) Has been cancelled
PR Playground Demo / build_plugin (push) Has been cancelled
PR Playground Demo / create_archive (push) Has been cancelled
PR Playground Demo / Comment on PR with Playground details (push) Has been cancelled
Fix context object construction in Playground workflow script
This commit is contained in:
commit
9bd47e8948
1 changed files with 13 additions and 2 deletions
15
.github/workflows/pr-playground-demo.yml
vendored
15
.github/workflows/pr-playground-demo.yml
vendored
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue