SSH key helpersSource:
SSH key helpers
The public key of the SSH key pair
The repository slug to use. Must follow the "
The name of the user account
The title of the key to add
The Github remote which should be used. Defaults to "origin".
Whether to check if the current user has the permissions to add a key to the repo. Setting this to
FALSEmakes it possible to add keys to other repos than just the one from which the function is called.
The owner of the repository
The SSH key pair object
String to check