Read Repository

Get information for a repository in GitHub.

Input

Field Definition Type Required
Repository
Repository Owner

Username of the repository owner.

Text

TRUE

Repository Name

Name of the repository.

Text

TRUE

Output

Field Definition Type

Repository

Repository ID

Unique identifier of the repository.

Text

Repository Node ID node_id value of the repository in the GitHub API.

Text

Repository Name

Name of the repository.

Text

Full Name Combined username and name of the repository; example, octocat/Hello-World.

Text

Owner Username

Username of the repository owner.

Text

Owner ID

Unique identifier of the repository owner.

Text

Owner Node ID node_id value of the repository owner.

Text

Owner Type

Type of owner of the repository.

Text

Is Private? Indicates whether a repository is private (True) or public (False).

True/False

HTML URL URL of the repository; example, https://github.com/octocat.

Text

Description

Short description of the repository.

Text

Is Fork? Indicates whether a repository is forked (True) or not (False).

True/False

Git URL GitHub URL for the repository.

Text

SSH URL GitHub URL for the repository for access via SSH.

Text

Clone URL

URL for a clone of the repository.

Text

Mirror URL

URL for a mirror of the repository.

Text

SVN URL URL for the GitHub repository in SVN.

Text

Homepage

URL of the homepage for the repository.

Text

Language

Language of the repository.

Text

Forks Count

Number of forks of the repository.

Number

Stargazers Count

Number of users who have starred the repository.

Number

Watchers Count

Number of users who are watching the repository.

Number

Size

Size of the repository (including all of its history), in kilobytes.

Number

Default Branch Indicates the default branch of the repository; example, Main.

Text

Open Issues Count

Number of open issues in the repository

Number

Has Issues? Indicates whether the repository can have issues; options are True to enable issues, or False to disable them.

True/False

Has Projects?

Indicates whether the repository can have projects; options are True to enable projects, or False to disable them.

If you're creating a repository in an org that has disabled repository projects, the default is false, and if you pass true, the API returns an error.

True/False

Has Wiki? Indicates whether the repository can have a wiki; options are True to enable the wiki, or False to disable it.

True/False

Has Pages? Indicates whether a repository has Pages (True) or not (False).

True/False

Has Downloads? Indicates whether a repository has Downloads (True) or not (False).

True/False

Is Archived? Indicates whether a repository is archived (True) or not (False).

True/False

Is Disabled? Indicates whether the repository is disabled (True) or not (False).

True/False

Pushed At

Date and time when contents were last pushed in the repository.

Date & Time

Created At

Date and time when the object was created.

Date & Time

Updated At

Date and time when the repository was last updated.

Date & Time

Permissions Indicates whether admin, push, and pull rights are allowed in the repository; options are True if each right is allowed, False otherwise.

Object

Allow Rebase Merge? Indicates whether to allow rebase-merging pull requests; options are True to allow rebase-merging pull requests, or False to prevent rebase-merging.

True/False

Temp Clone Token Temporary access token to clone the repository from GitHub.

Text

Allow Squash Merge? Indicates whether to allow squash-merging pull requests; options are True to allow squash-merging pull requests, or False to prevent squash-merging.

True/False

Delete Branch on Merge? Indicates whether to allow automatically deleting head branches when pull requests are merged; options are True to allow automatically deleting head branches when pull requests are merged, or False to prevent automatic deletion.

True/False

Allow Merge Commit? Indicates whether to allow merging pull requests with a merge commit; options are True to allow merging pull requests with a merge commit, or False to prevent merging pull requests with merge commits.

True/False

Subscribers Count

Number of users who have subscribed to the repository.

Number

Network Count

Size of the repository's network.

Number

License

Value of the license for a repository.

Text

Organization Username

User name of the organization to which the repository belongs.

Text

Organization ID

Unique identifier of the organization to which the repository belongs.

Text

Organization Node ID node_id value of the organization to which the repository belongs.

Text

Organization HTML URL

URL of the organization to which the repository belongs.

Text

Parent repository

Parent repository to which the repository belongs.

Text

Source

Source branch and directory of the repository.

Text

Related topics

GitHub connector

Workflow elements

GitHub API documentation