SSH key helpers
github_add_key( pubkey, repo = get_repo(remote), user = get_user(), title = "ghactions", remote = "origin", check_role = TRUE ) check_admin_repo(owner, user, repo) get_role_in_repo(owner, user, repo) get_public_key(key) encode_private_key(key) check_private_key_name(string)
pubkey | The public key of the SSH key pair |
---|---|
repo |
|
user | The name of the user account |
title | The title of the key to add |
remote |
|
check_role | Whether to check if the current user has the permissions to
add a key to the repo. Setting this to |
owner | The owner of the repository |
key | The SSH key pair object |
string | String to check |