external/git/github.sh

GitHub util functions.

github_branch_info()

Fetch branch info (and print in json format).

github_branch_latest_sha()

Extract latest sha from branch info.

github_branches()

Fetch branches (and print in json format).

github_commit_info()

Return commit info for the given SHA.

github_commits()

Fetch commits from the given SHA.

github_create_pr()

https://stackoverflow.com/questions/56027634/creating-a-pull-request-using-the-api-of-github

github_enabled()

Check if this module is enabled.

github_id_to_sha()

Extract SHA for the given run id.

github_is_outcome()

Return if the action name resulted in the given outcome.

github_jobs()

Fetch jobs for the given RUN-ID.

github_pr_add_comment()

Add a comment to a PR.

github_pr_assign_reviewer()

Assign a reviewer to a PR.

github_pr_commits()

Fetch commits for the given PR (and print in json format).

github_prs()

Fetch PRs (and print in json format).

github_runs()

Fetch action runs (and print in json format).

github_tag_latest()

Extract latest tag.

github_tags()

Fetch tags (and print in json format).