github.repository
Description
GitHub repository
Init
github.repository(name string)
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
id | int | can only be used when logged in to github as a user, Repository ID |
name | string | Repository name |
fullName | string | Repository full name |
description | string | Repository description |
cloneUrl | string | Repository clone URL |
sshUrl | string | Repository SSH URL |
homepage | string | Repository homepage |
topics | []string | Repository topics |
language | string | Repository language |
watchersCount | int | Number of users watching the repository |
forksCount | int | Number of repository forks |
stargazersCount | int | Number of repository stargazers |
openIssuesCount | int | Number of open issues in repository |
createdAt | time | Repository create time |
updatedAt | time | Repository update time |
pushedAt | time | Repository pushed time |
archived | bool | Whether the repository is archived |
disabled | bool | Whether the repository is disabled |
private | bool | Whether the repository is private |
isFork | bool | Whether the repository is a fork |
visibility | string | Repository visibility |
allowAutoMerge | bool | Whether the repository allows auto merging |
allowForking | bool | Whether the repository allows forking |
allowMergeCommit | bool | Whether the repository allows merge commit |
allowRebaseMerge | bool | Whether the repository allows rebase merge |
allowSquashMerge | bool | Whether the repository allows squash merge |
hasIssues | bool | Whether the repository has open issues |
hasProjects | bool | Whether the repository has projects |
hasWiki | bool | Whether the repository has a wiki |
hasPages | bool | Whether the repository has pages |
hasDownloads | bool | Whether the repository has downloads |
hasDiscussions | bool | Whether the repository has discussions |
isTemplate | bool | Whether the repository is an organization repository template |
openMergeRequests | []github.mergeRequest | List of open merge requests for the repository |
closedMergeRequests | []github.mergeRequest | List of closed merge requests for the repository |
allMergeRequests | []github.mergeRequest | List of all merge requests for the repository |
branches | []github.branch | List of branches for the repository |
defaultBranchName | string | Default branch name for the repository |
defaultBranch | github.branch | Default branch |
commits | []github.commit | List of commits for the repository |
contributors | []github.user | List of contributors for the repository |
collaborators | []github.collaborator | List of all collaborators for the repository |
adminCollaborators | []github.collaborator | List of admin collaborators for the repository |
files | []github.file | List of files in the repository |
releases | []github.release | List of releases for the repository |
owner | github.user | Repository owner |
webhooks | []github.webhook | List of webhooks for the repository |
workflows | []github.workflow | List of workflows for the repository |
forks | []github.repository | List of repository forks |
stargazers | []github.user | List of repository stargazers |
openIssues | []github.issue | List of repository open issues |
closedIssues | []github.issue | List of repository closed issues |
license | github.license | Repository license |
codeOfConductFile | github.file | Repository code of conduct |
supportFile | github.file | Repository support file |
securityFile | github.file | Repository security file |