Changelog

New features and fixes in Ghost, newest first.

Check runs

Apps can report check runs, GitHub's richer kind of commit status, through POST /repos/{owner}/{repo}/check-runs with an installation token that holds the new checks permission. A run moves from queued to in progress to completed, carries a markdown summary and log text, line annotations and up to three buttons, and belongs to its app's check suite on the commit. Runs show next to statuses in the merge panel and on every commit's tick, and expand in place into their output; writers can re-run a run, re-run all of an app's checks, or press its buttons, and the app hears check_run.rerequested, check_suite.rerequested or check_run.requested_action. A push asks every installed app with checks: write for a suite with check_suite.requested. Rulesets accept a run's name as a required check, and gh pr checks lists runs and statuses together.

Smaller Discord previews

Links pasted in Discord take far less of the chat: the title is a bold link, the repository image is gone, bodies stop at 140 characters, and the buttons are a short line of links.

No pull request hint on a first push

The first push into an empty repository no longer suggests a pull request into a branch that does not exist.

Haunted headers

Every API response is now X-Powered-By: Ectoplasm, names who haunts it in X-Haunted-By, rates its X-Spookiness and carries X-Clacks-Overhead.

Signed tags

Annotated tags signed with GPG or SSH are verified like commits, and the tags page, release pages and releases list show a Verified or Unverified badge. Release tags Ghost creates are signed with the instance's key. GET /repos/{owner}/{repo}/git/tags/{tag_sha} returns a tag's verification, and GraphQL serves Repository.ref, Repository.refs and Release.tag. See Signing commits and tags.

Polished repository pages

Markdown files render on their file page, with ?plain=1 for the source. A file page splits its last commit from its own details and has a copy button. Repositories list their contributors in the sidebar, and the file listing no longer waits on tab counts. Issues filter by several labels at once, a release picks its tag from the existing ones or creates one, and a profile keeps its tab in the URL.

Ghost Apps: new permissions, GraphQL and scoped tokens

When an app asks for more permissions, each installation keeps what it accepted until an admin reviews the request, and accepting sends installation.new_permissions_accepted. Installation tokens work on GraphQL, limited to what the app may read and write. Apps can reset a user token or narrow it to some repositories and permissions with GitHub's /applications/{client_id}/token routes. See Ghost Apps, including a guide to porting a Probot app.

Apps that act for a user

A Ghost App can sign people in on its own website and act for them, with expiring tokens and refresh tokens as on GitHub, only where both the app and the user may act. Anything it does shows as "user via App". Authorized apps in Settings lists Ghost Apps, and revoking one ends its tokens. See Acting for a user.

Webhooks for apps

Installed apps receive the events of the repositories they cover, filtered by the events and permissions each installation accepted, and hear when they are installed, changed, suspended or removed. Pull requests now send pull_request.opened, edited, closed and reopened. See App webhooks.

Installing apps

Install a Ghost App on your account or an organization, on every repository or chosen ones. The app gets one-hour installation tokens at GitHub's paths and acts as its bot, only on those repositories and within the permissions you accepted. Rulesets can pin a required check to an app and let an app bypass them. See Installing an app.

Ghost Apps

Register an app for your account or organization, the way GitHub Apps work: it gets an App ID, private keys and a slug[bot] user, and Octokit's App signs in with a JWT. See Building a Ghost App.

Repositories through GitHub's REST API

GitHub's routes to list, edit and delete repositories work against Ghost. GET /user/repos lists everything you hold a role on, private repositories included, filtered by visibility, affiliation or type. GET /users/{username}/repos lists an account's public repositories, and GET /orgs/{org}/repos an organization's. All three sort and page as GitHub does. PATCH /repos/{owner}/{repo} renames a repository and changes its description, visibility or default branch, and DELETE /repos/{owner}/{repo} deletes it with a token that holds delete_repo.

A complete API reference

/openapi.json describes the response of every GitHub-compatible route, so code generators produce typed clients for the whole API. It also documents GitHub's error body, which routes take a token or a session and which work signed out, and the limits on label names and colours.

Label names ignore case

Label names are unique in a repository ignoring case, as on GitHub: Bug and bug cannot both exist, and …/labels/BUG finds bug. A name with leading or trailing spaces, or one that is . or .., is refused instead of being trimmed without a word. Imports from GitHub attach a label the repository already has in another case.

Rate limits

Every account gets 120 API requests a minute, shared by its tokens and sessions across Ghost's API and GitHub's REST and GraphQL, and searches draw from a smaller budget of their own. Responses carry GitHub's X-RateLimit-* headers, so tools such as the Terraform provider pace themselves, and a 429 says when to retry. Git over HTTP and SSH has its own budget, and sign-in, sign-up and password resets are limited per address.

Personal access tokens on Ghost's API

Personal access tokens work on Ghost's own API as well as the GitHub-compatible one: send Authorization: Bearer <token> and the request acts as the token's owner. Account security settings such as emails, keys and OAuth apps still need a signed-in browser session.

Names match in any case

User names, organization names and repository names are matched ignoring case, as on GitHub, in URLs, the API, GraphQL and git. /PippinMole/Ghost and /pippinmole/ghost open the same repository, and two repositories in one account can no longer differ only by case.

Required status checks and signed commits

Two more ruleset rules. Required status checks refuse a push and block a merge until the commit has passed every named check, optionally only once the branch is up to date with its base. Required signatures refuse any commit that does not verify. gh pr checks --required lists the required checks.

SSH signing keys

Sign commits with an SSH key. Signing keys are kept apart from the keys you push with: add them in Settings, or with gh ssh-key add --type signing. See Adding an SSH signing key.

Rule insights and evaluate mode

Every push and merge a ruleset checks is recorded: who wrote, to which ref, and what each rule decided. Admins read the record under Settings → Rules → Insights, filtered by ruleset, ref, actor, result and time, or through GitHub's rule suites API. A ruleset in evaluate mode checks every write the same way but never refuses one, so you can see what a rule would block before turning it on.

Pull request rules

A ruleset can require changes to go through a pull request, with a number of approvals, code owner review, approval of the latest push, resolved conversations and a choice of merge methods. Stale approvals can be dismissed on new pushes. The merge box lists every requirement still unmet, and people allowed to bypass the ruleset can merge anyway, which leaves an entry on the timeline.

Newer goes back one page

On every paged list, Newer steps back one page instead of jumping to the first.

Faster file pages

Opening a file takes fewer steps in a row: its history is looked up while the file is read, and a branch is found without listing every branch and tag.

Markdown for agents, richer Discord previews

Ask for any public profile, repository, issue, pull request or release list with Accept: text/markdown and Ghost answers in Markdown, comments and README included. /llms.txt tells AI agents what Ghost serves, and /openapi.json describes the API. Links pasted in Discord show the title, state, stats and buttons to open the page.

Branch and tag rulesets

Repository rulesets protect branches and tags: restrict creating, updating or deleting them, block force pushes and require linear history. Rulesets target refs by pattern, can be switched off without deleting them, and let chosen roles, teams or organization admins bypass them. A push that breaks a rule is refused with the rule and ruleset it broke. Set them up under Settings → Rules; protected branches and tags show a badge, and GitHub's rulesets REST API works against Ghost.

Review requests and CODEOWNERS

Request reviews from people and teams on a pull request, and re-request them after changes. A CODEOWNERS file in .ghost/, .github/, docs/ or the repository root requests the owners of changed files automatically. Review requests show on your dashboard and in notifications, pull request lists filter by them, and gh pr create --reviewer and gh pr edit --add-reviewer work. See Review requests.

A clearer merge box

The merge box sits above the comment box and is split into sections. Checks fold into one summary line that opens while any is not passing, and a merged or closed pull request says which branch went where, linking the merge commit.

Review comments on a pull request's commits

A commit opened from a pull request's Commits tab stays inside the pull request and shows the review threads left on it, on the lines they were written against. Previous and next links step through the pull request's commits.

Upload attachments with a token

API tokens can upload attachments for issues and comments, through GitHub's user-attachments route, so scripts and tools can put a screenshot in an issue. See GitHub CLI.

Commit statuses

External CI and bots can report results on a commit through GitHub's commit status API. Statuses show on pull requests, commits and commit lists, gh pr checks lists them, and a commit_status.created webhook fires for each one.

Start a repository from templates

Create a repository with a README, a .gitignore template and a license, landed as its first commit. gh repo create --add-readme --gitignore Go --license mit works too.

More fields in gh pr view --json

gh pr view --json answers six fields it used to reject: mergeCommit, mergedBy, baseRefOid, potentialMergeCommit, fullDatabaseId and closingIssuesReferences.

Two-factor authentication and passkeys

Protect your account with an authenticator app, with backup codes for when you lose it, and sign in with a passkey instead of a password. Set both up under Settings → Security.

Link to a comment

Every comment has a menu with Copy link, next to Edit and Delete. Opening the link scrolls to the comment and highlights it, and the links match the ones GitHub's API returns.

Review comments through GitHub's REST API

Tokens can read and write line comments and reviews through GitHub's REST API: comment on a line of any commit in a pull request, reply in a thread, and start, submit or delete a review.

Git submodules

Submodules show the commit they are pinned to and link to their repository, at that commit on Ghost, GitHub, GitLab, Codeberg and other well-known hosts. Diffs show a moved submodule as its old and new commit, and git clone --recurse-submodules fetches private submodules on the same instance with the same credentials. See Git submodules.

Download source code

Download any branch, tag or commit as a zip or tarball from the Code button. Every release lists its source code archives with their size and download count, and gh release download --archive works against Ghost.

Crawler rules

Search engines index repositories, issues and pull requests, and skip the endless commit, file and download pages. The API asks crawlers to stay out entirely.

Pull request links on push

Pushing a branch prints a link to open a pull request for it, and the matching gh pr create command; a branch that already has an open pull request links to it instead.

Clone URLs open the repository

Opening a repository's clone URL in a browser takes you to the repository page instead of an error.

Mention icons show state

A "mentioned this" entry on an issue or pull request timeline is coloured by the state of the thread it came from: open, closed or merged.

OAuth app access restrictions

Organizations can require an admin to approve an OAuth app before it reaches their repositories. Members ask for an app, and admins approve or deny it from organization settings. See Managing access.

Releases from the GitHub CLI

gh release works against Ghost: create, edit, list, view and delete releases, and upload and download their assets. See GitHub CLI.

Learn how Ghost works

A new guide walks contributors through how Ghost works inside, so they can find their way around the code before making a change.

Pull requests from the GitHub CLI

gh pr works against Ghost: list, view, create, edit, check out, merge, close and reopen pull requests, and mark them ready or draft. See GitHub CLI.

GitHub's REST API for issues

Ghost serves GitHub's REST routes for issues, comments, labels and assignees, with GitHub's paging, so gh label, gh api --paginate and typed SDKs such as octokit and PyGithub work against it.

GitHub CLI support, checked against gh

Every request the GitHub CLI makes in Ghost's tests is recorded, and CI fails when gh asks for something Ghost does not serve.

OAuth apps

Register OAuth apps in your account settings and let people sign in to them with their Ghost account, through the browser or the device flow. See OAuth apps.

Expiring tokens for OAuth apps

An OAuth app can make its tokens expire after 8 hours and hand out refresh tokens, the way GitHub does. See Refreshing tokens.

Sign in to the GitHub CLI from the browser

gh auth login --web, gh auth refresh and gh auth setup-git work against Ghost. Tokens carry GitHub's scopes, and Ghost enforces them. See GitHub CLI.

Richer webhook payloads

Webhook deliveries formatted for chat carry more detail about the event. See Webhooks.

The GitHub CLI

Point the GitHub CLI at Ghost with GH_HOST to view, clone and create repositories, work with issues, manage SSH keys and call gh api. Ghost serves GitHub's GraphQL and REST APIs for them. See GitHub CLI.

Co-authors count as contributors

Everyone named in a commit's Co-authored-by trailers is counted as a contributor to the repository, and each commit is counted once.

Fewer release webhooks

Editing a release sends a release.edited webhook only when something actually changed.

Link previews for releases

Sharing a repository's releases, or a single release, now shows a preview card with its name, notes, author and assets. Every preview card has a new look to match the rest of Ghost.

Find files and browse the tree

Press t or choose Go to file on a repository's code view to fuzzy-find any file at the current branch, tag or commit; a match in the file name ranks above one in its directories. A file page shows the repository's files in a sidebar, opened down to the file you are reading, and remembers whether you collapsed it.

Several lines in one link

A file link highlights several lines with #L10,L11,L59, a range with #L10-L59, or both at once, and scrolls to the first.

Pull request commits in the timeline

A pull request's timeline now lists the commits each push added, and marks force pushes with the head they replaced. A push that moves a request's head sends a pull_request.synchronized webhook.

Attachments in every Markdown field

Issues, pull requests, comments and releases share one Markdown editor. Drop or paste files into it to attach them; HEIC photos are converted to JPEG first, and a draft waits until its uploads finish. The editor suggests people and issues as you type @ or #, fenced code blocks are highlighted, and the assignee picker is searchable.

Git LFS

Repositories serve Git LFS objects and locks over HTTP and SSH, and files stored with LFS show their contents in the browser. See Git LFS.

Storage limits

Pushes, forks and release assets each count against a storage quota on the owning account, and git says why when a push is refused. Settings show usage and limits for users and organizations.

Organization pages

An organization's README appears above its pinned repositories.

Sign in with GitHub

Sign in or sign up with a GitHub account.

Faster code search and large repositories

Code search pages its results with infinite scroll, returns up to 2000 matching files and is rate-limited per account. Branch lists are searchable, branches with slashes resolve in every URL, and a #L link highlights and scrolls to its line.

Importing large repositories

The GitHub importer pushes once, runs its phases in parallel and resumes from where it stopped. Large pushes are verified without being held in memory, and Markdown renders the way GitHub renders it.

Signed merge commits

Merge commits Ghost creates, and suggestions applied from a review, are signed with the instance's key, and GitHub's merge commits verify.

Push validation

A push is verified before it is committed to the repository, and merges are refused once the base account is at its storage quota.

Language statistics

Repository languages are counted the way GitHub's Linguist counts them, so data files no longer skew the bar.

Import from GitHub

Import a repository from GitHub along with its issues, pull requests and releases.

Self-hosting

Ghost ships a Docker Compose stack with setup scripts for bash and PowerShell, and sends mail through local sendmail when no mail service is configured. See Self-hosting.

Webhooks

Repositories and organizations send webhooks, with a catalog of events to choose from. Deliveries to Slack, Discord, Google Chat and Teams are posted as chat messages, and a webhook's signing secret can be replaced. See Receiving webhooks.

Notifications

An inbox and thread emails for mentions, team mentions, assignments, comments, reviews and state changes. Subscribe to a thread, or watch or ignore a repository.

Branch management

Create and delete branches from a repository's branches page.

Merge strategies

Pull requests merge with a merge commit, a squash or a rebase, and the squash message can be edited before merging.

Pull request reviews

Approve, comment on or request changes to a pull request. Conflicting files are named when a request cannot merge cleanly.

Tags and releases

Create tags and releases, and attach assets to a release.

Organizations

Organizations share the user namespace and come with teams, base permissions and repository transfers.

Collaborators

Invite collaborators to a repository and give each a role.

Repository settings

A Settings tab to rename a repository and change its description, visibility and default branch. Deleting a repository purges everything it stored.

Issue and pull request references

Issues and pull requests that mention each other show the reference in their timelines, and closing keywords such as fixes #12 close the issue they name.