In this guide

GitHub

Create issues, read repositories, work with pull requests, and manage gists from Apple Shortcuts.

Integration guideFine-grained personal access token

What you can do #

Use GitHub to capture an idea as an issue, read an issue’s current state, or get details about a repository. A repository is the project that owns the code and issues. An owner is its GitHub user or organization.

GitHub uses Shortcutify’s standard editor. You choose an action, then open each named input to fill it in. This guide starts with creating an issue; the action list below covers the other supported operations.

Connect GitHub #

  1. Open GitHub’s fine-grained personal access token settings and create a token.
  2. Choose the repository owner and repositories it should reach. Grant the permissions needed by your action. Creating an issue needs Issues: write; reading issues needs read access.
  3. Create and copy the token. In Shortcutify, open Services → GitHub, paste it into Paste your token, and tap Connect GitHub.

A token is a credential the app uses on your behalf. GitHub’s repository, organization, expiration, and approval rules still apply. Each action reference below lists the permissions declared by Shortcutify. GitHub’s token guide explains the permission settings.

Example: save a quick note as an issue #

  1. In Actions, tap +, choose GitHub, then Create an Issue.
  2. Fill in Owner with the GitHub user or organization, and Repository with the repository’s name. Keep both saved as text.
  3. Open Title, choose Shortcuts as its source, and select Param 1. The optional Body input can hold a longer note.
  4. Name and save the action. In Apple Shortcuts, add Execute Action, choose it, and pass your note’s title through Param 1.

To use the new issue’s link in the next Shortcuts step, open Returned Value in the action editor and select the response’s html_url field.

Test with a title you want to keep

Running this action creates a real GitHub issue. It is useful to test it in a repository where you can keep or close the example issue.

Shortcutify’s GitHub Create an Issue editor, with a saved repository and a title supplied by Shortcuts.
Real parameter editor with example repository details.

If something does not work #

GitHub returns 404 for my repository

Check the Owner and Repository inputs, then confirm the token includes that repository and the needed permissions. A 404 can mean the token cannot access the repository, even when it exists.

Which permission do I need?

Issue actions use Issues permissions; pull-request actions use Pull requests; branch deletion uses Contents. Gists are under account permissions. The action’s reference names its requirement.

Why does the issue title change but the repository stay the same?

The repository is saved as text in Shortcutify. Title is bound to a Shortcuts slot, so your shortcut supplies it each time it runs.

All GitHub actions #

These are the actions available in the app’s request picker. Open one for its inputs, returned fields, and permissions.

Get Authenticated User

The profile the token belongs to.

Read

List Artifact Attestations

Attestations for a given artifact digest in a repository.

Read

List My Repositories

Every repository the token can see, newest activity first if you ask for it.

Read

Get a Repository

Everything about one repository: stars, language, default branch, licence.

Read

Search Public Repositories

Find repositories by name, language, stars or topic.

Read

List Branches

Every branch in a repository.

Read

List Repository Issues

Open issues in a repository.

Read

List My Issues

Issues assigned to you across every repository the token can see.

Read

Get an Issue

One issue by number, with its labels, assignees and state.

Read

Create an Issue

Open a new issue.

Create

Update an Issue

Edit, close, reopen, relabel or reassign an issue.

Change

Lock an Issue

Stop anyone but collaborators commenting.

Change

Unlock an Issue

Allow comments again.

Change

List Labels

The labels an issue in this repository can carry.

Read

List Assignees

Everyone an issue in this repository can be assigned to.

Read

List Milestones

A repository's milestones, soonest due first.

Read

List Comments in a Repository

Recent comments across every issue and pull request.

Read

List Comments on an Issue

The conversation under one issue or pull request.

Read

Get an Issue Comment

One comment by its id.

Read

Comment on an Issue

Add a comment to an issue or pull request.

Create

Edit an Issue Comment

Replace the text of a comment you can edit.

Change

Delete an Issue Comment

Remove a comment for good.

Delete

List Pull Requests

Open pull requests in a repository.

Read

Get a Pull Request

One pull request, including whether it can be merged.

Read

Create a Pull Request

Open a pull request from one branch into another.

Create

Update a Pull Request

Edit the title or description, close it, or reopen it.

Change

Merge a Pull Request

Merge, squash or rebase a pull request.

Change

Review a Pull Request

Approve, request changes, or leave a review comment.

Create

Delete a Branch

Remove a branch — the clean-up step after a merge.

Delete

List My Gists

Your gists, most recently updated first.

Read

Get a Gist

One gist, with the text of its files.

Read

Create a Gist

Save text to a gist and get a link back.

Create

Update a Gist

Change a gist's description, or edit, rename, add and remove its files.

Change

Delete a Gist

Remove a gist and every revision of it.

Delete

List Comments on a Gist

The conversation under one gist.

Read

Comment on a Gist

Add a comment to a gist.

Create

Edit a Gist Comment

Replace the text of a comment you left.

Change

Delete a Gist Comment

Remove a comment from a gist.

Delete

Service setup references #

The service controls its account requirements and permissions. These references explain its setup in more detail.