This repository was archived by the owner on Oct 4, 2022. It is now read-only.
This repository was archived by the owner on Oct 4, 2022. It is now read-only.
Non yoast employees can't create community patches without failing travis builds #284
Open
Description
Explanation
Since this is an open source library people from outside of Yoast should be able to create community patches without their travis builds failing, because now they get the following error on Travis:
Running "shell:clone-premium-configuration" (shell) task
Warning: Command failed: git clone https://github.com/Yoast/YoastSEO.js-premium-configuration.git premium-configuration&&cd premium-configuration&&git fetch&&echo Done
Cloning into 'premium-configuration'...
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/Yoast/YoastSEO.js-premium-configuration.git/'
� Use --force to continue.
Aborted due to warnings.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run install-ci stderr:
Cloning into 'premium-configuration'...
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/Yoast/YoastSEO.js-premium-configuration.git/'
error Command failed with exit code 6.
lerna ERR! yarn run install-ci exited 1 in 'yoastseo'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The command "yarn install-ci" failed and exited with 1 during .
Technical decisions
To solve this we could create a token for a github account that is allowed to clone private Yoast repo's and use that for cloning the premium config repo.