Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Sensei to the allowed repositories for plugin proxy (#1079)
It adds Sensei to the allowed repositories for plugin proxy. ## What problem is it solving? Allow Sensei to use the plugin proxy, so it can be added to Sensei pull requests. It's a better alternative to Automattic/senseilms-com-plugins#305 because we don't have an extra code and GitHub token to maintain. ## How is the problem addressed? Plugin added to the allowed array. ## Testing Instructions - Create a GitHub token with the "repo" scope checked for test. - Add the token hard coded in the `packages/playground/website/public/plugin-proxy.php`. - Serve the `wordpress-playground/packages/playground/website/public` with a PHP server. - Request `/plugin-proxy.php?org=Automattic&repo=sensei&workflow=Plugin%20Build&artifact=sensei-lms-bef4d18c802094cc0eaacc522eefdbac5bcbfa77&pr=7521`. - Check that the request works properly. ## Pending I still need to see how the PR previewer for Sensei will be. Originally, I was implementing it in https://senseilms.com/playground/ to be used in the PRs. But I still need to take a look now that we're adding the proxy here. I think it will be just to use the playground.wordpress.com with the plugin pointing to the proxy URL and send my blueprint as querystring.
- Loading branch information