List repositories action in GitHub package
- Updated: 2026/05/13
List repositories action in GitHub package
The List Repositories action retrieves the details of all the repositories for the specified GitHub owner. The owner can be an organization or an individual user.
Overview
The List Repositories action retrieves all repositories for a specified GitHub owner. The retrieved data includes the repository ID, name, full name, owner, visibility, description, HTML URL, and default branch.
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 List Repositories 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 and option.
- 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 type
- Specifies the type of the GitHub owner whose
repositories the action retrieves. You can either enter the owner name directly as text
or select the applicable string variable. Select one of the following options:
- Organization: Select to retrieve details of all the repositories of a GitHub organization.
- User: Select to retrieve details of all the repositories of a GitHub user account.
- Assign output to variable
- Specifies the table 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.node_id: The unique Base64 encoded identifier of the repository.private: The visibility setting that indicates whether the repository is private.description: The description of the repository.htmlUrl: The HTML URL of the repository.default_branch: The name of the default branch of the repository.