Get repository action in GitHub package
- Updated: 2026/05/13
Get repository action in GitHub package
The Get Repository action retrieves details of specific GitHub repository.
Overview
The Get Repository action retrieves the details of a GitHub repository using the owner name and repository name. The retrieved data includes the repository ID, name, full name, owner, visibility, description, number of fork and issues, default branch, API URL, HTML URL, and created, updated, and pushed timestamps.
Note: Ensure that the Connect action
is configured before proceeding with the List issues as the
Connect action provides the authentication context for the
automation session.
Settings
The Get Repository action contains the following settings:
Note: All the input fields support string variables. You can create a string variable to hold
the appropriate text string and select it in the applicable setting.
- Session name
- Specifies the GitHub session name that the
Connect action creates. Use one of the following options to
specify the session name:
- Session name: Enter the session name as text directly or select the string variable that holds the session name text.
- Variable: Select the GitHub session variable that the Connect action creates.
- Owner name
- Specifies the name of the GitHub repository owner. The owner can be an organization or a user account.
- Repository name
- Specifies the name of the GitHub repository to retrieve.
- Assign output to variable
- Specifies the variable in which the action stores the
response data. The response data includes the following
fields:
id: The unique identifier of the repository.name: The name of the repository.fullName: The full name of the repository that includes the owner details in the following format:organization name/repository name.owner: The owner of the repository.private: The visibility setting that indicates whether the repository is private.description: The description of the repository.fork: The fork setting that indicates whether the repository is a fork of another repository.hasIssues: The issues setting that indicates whether the repository has open issues.defaultBranch: The default branch of the repository.url: The API URL of the repository.htmlUrl: The HTML URL of the repository.createdAt: The timestamp indicating when the repository was created.updatedAt: The timestamp indicating when the repository was last updated.pushedAt: The timestamp indicating when the last pull request was merged to the main branch.