wordpress-mobile / release-toolkit-gutenberg-mobile

Automation Scripts for Releasing Gutenberg-Mobile Updates to the WordPress Mobile Apps.
Mozilla Public License 2.0
5 stars 2 forks source link

[CLI] Updates for CI workflows #222

Closed jhnstn closed 8 months ago

jhnstn commented 8 months ago

Switches the git clone command to use https:// instead of git@. This will allow us to clone the repos without ssh keys.

This is needed to run the commands on CI where we will use a Github Token to access the repos

Also includes a check to return true from console.Confirm and skips printing the PR Preview if running on CI

Testing

Confirm that any of the release command can still clone and push to the repos.

jhnstn commented 8 months ago

Oh hmm, yeah I suppose we should force it to wordpress-mobile I've been testing with a release in my fork toolkit so I haven't seen this. Thanks for catching it!