Expand description
GitHub API response types — deserialized from gh api JSON output.
Structs§
- GitHub
Annotation - A check run annotation returned by the GitHub Checks API.
- GitHub
Branch Ref - GitHub
Check Run - GitHub
Comment - GitHub
Issue - GitHub
Label - GitHub
Pull Request - Pull request details from the GitHub API.
The
mergeablefield indicates if the PR can be merged: - GitHub
Review - PR review state - “APPROVED”, “CHANGES_REQUESTED”, “COMMENTED”, “DISMISSED”
- GitHub
Review Comment - PR review comment on a specific line of code.
- GitHub
User - Pull
Request Review - A PR review with its associated comments.
Functions§
- extract_
issue_ number_ from_ url - Extract issue/PR number from a GitHub API URL.