TruCol / Self-host-GitLab-CI-for-GitHub

Installs your own GitLab CI and runs it on all your GitHub repos, in a single command.
GNU Affero General Public License v3.0
4 stars 3 forks source link

Allow user to "override" setting SSH deploy key, and GitHub personal access token. #120

Open a-t-0 opened 1 year ago

a-t-0 commented 1 year ago

Currently, in src/PAC/ and src/SSH/, the GitHub SSH deploy key and GitHub PAT are only created if they are not yet working. However, the user should also be able to create a new SSH deploy keys and/or GitHub PAT if they desire so. Currently they would have to manually delete either the SSH key or the PAT respectively to ensure new ones are created.

Allow the user to pass an override argument to the respective functions, to delete the respective SSH key and/or PAT before creating a new one.