Visibility
OptionalChoiceDefaults to all.
Choices: all, public, private
Default: all
Every repository the token can see, newest activity first if you ask for it.
First, connect GitHub in Services. Then open Actions → + → GitHub and choose List My Repositories.
Lists repositories for the account the token belongs to — owned, collaborated on, and through organisation membership.
A fine-grained token only ever lists the repositories it was granted at creation time, so a short list usually means a narrow token rather than a small account.
Type cannot be combined with Visibility or Affiliation; sending both is a 422. Use one or the other.
Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.
Defaults to all.
Choices: all, public, private
Default: all
Any of owner, collaborator, organization_member. Defaults to all three.
A list of text values. Use a comma-separated list.
owner
Mutually exclusive with Visibility and Affiliation.
Choices: all, owner, public, private, member
Defaults to full_name. Use pushed for 'what am I working on'.
Choices: created, updated, pushed, full_name
Default: full_name
Defaults to asc when sorting by name, desc otherwise.
Choices: asc, desc
ISO 8601. Only repositories created after this time.
2026-01-01T00:00:00Z
1–100. GitHub silently clamps anything larger.
100
Starts at 1. Bind this to a Shortcuts slot if you want to page from a Repeat loop rather than fetching several pages in one go.
1
In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.
| Returned field | Type | Meaning |
|---|---|---|
id | integer | Whole-number value. |
name | string | Without the owner. |
full_name | string | owner/repo. |
description | string | Null when unset. |
html_url | string | The repository page. |
clone_url | string | HTTPS clone URL. |
ssh_url | string | Text value. |
homepage | string | Text value. |
private | boolean | True or false. |
visibility | string | public, private or internal. |
fork | boolean | True or false. |
archived | boolean | Archived repositories are read-only. |
disabled | boolean | True or false. |
default_branch | string | Usually main. |
language | string | The most-used language, or null. |
topics | array | Topic strings. |
size | integer | Kilobytes. |
stargazers_count | integer | Whole-number value. |
watchers_count | integer | A copy of the star count, not watchers. |
forks_count | integer | Whole-number value. |
open_issues_count | integer | Open issues plus open pull requests. |
has_issues | boolean | False means issues are turned off. |
created_at | string | ISO 8601. |
updated_at | string | Text value. |
pushed_at | string | Last push to any branch. |
owner | object | A group of named values. |
owner.login | string | Username. |
owner.id | integer | Whole-number value. |
owner.html_url | string | Their profile page. |
owner.avatar_url | string | Text value. |
owner.type | string | User, Organization or Bot. |
license | object | Null when the repository has no licence file. |
license.key | string | mit, apache-2.0, … |
license.name | string | Text value. |
license.spdx_id | string | Text value. |
permissions | object | What this token may do here. |
permissions.admin | boolean | True or false. |
permissions.push | boolean | Write access. |
permissions.pull | boolean | Read access. |
If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.
This action supports multiple pages of results. Open its Fetch setting to retrieve more pages when one page is not enough. Each page adds a service request.
Request: GET https://api.github.com/user/repos
Action identifier: github.repos.list.v1
Permissions declared for this action: metadata:read. The account’s own access rules also apply.
| Input | Request key | Location |
|---|---|---|
| Visibility | visibility | query |
| Affiliation | affiliation | query |
| Type | type | query |
| Sort By | sort | query |
| Direction | direction | query |
| Created After | since | query |
| Page Size | per_page | query |
| Page | page | query |