Skip to contents

GitHub

github_get_api_limit() github_set_api_limit()
Tools for limiting gh's GitHub api requests.
github_orgs()
Collect details on the authenticated user's GitHub organization memberships (based on the current PAT).
github_rate_limit() github_get_token() github_set_token() github_reset_token() github_test_token() github_token_scopes()
Tools for handling GitHub personal access tokens (PAT)
github_whoami()
Returns the login of the authenticated user (based on the current PAT).
with_pat() local_pat()
withr-like functions for temporary personal access token

Local Repositories

local_repo_add() local_repo_branch() local_repo_clone() local_repo_commit() local_repo_log() local_repo_pull() local_repo_push()
Functions for managing local git repositories
local_repo_rename()
Rename local directories using a vector of patterns and replacements.

Organizations

org_create_assignment()
Create a team or individual assignment
org_exists() org_repo_search() org_repo_stats() org_repos() org_team_details() org_teams()
Obtain details on an organization's repos and teams
org_admins() org_invite() org_members() org_pending() org_remove()
Tools for managing organization membership
org_sitrep() org_set_repo_permission()
Organization permissions

Repositories

Users

user_exists() user_repos() user_type()
GitHub user related tools

Teams

team_create() team_delete() team_rename()
Create, delete, and rename teams within an organization
team_invite() team_members() team_pending() team_remove() team_repos()
Tools for inviting, removing, and managing members of an organization team

Issues

issue_close() issue_create() issue_edit()
GitHub Issue related tools

Branches

branch_create() branch_delete() branch_remove()
Create and delete branches in a repository

Pull Requests

pr_create()
GitHub Pull Request related tools

Actions

action_artifacts() action_artifact_delete() action_artifact_download() action_runs() action_status() action_runtime() action_workflows()
Retrieve information about GitHub Actions workflows and their runs.
action_add_badge() action_remove_badge()
Add or remove GitHub Actions badges from a repository

Pages

pages_enabled() pages_status() pages_create() pages_delete()
Retrieve information about GitHub Pages sites and builds.