> ## Documentation Index
> Fetch the complete documentation index at: https://docs.joystream.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Release Notes Publisher

> Drafts customer-facing release notes for one GitHub release from the pull requests merged since the previous release.

**Category:** Marketing · **Connections:** GitHub · **Public stage:** Live · **Runs:** when you start it

## What it does

Release Notes Publisher drafts release notes for one GitHub release for a person to review. It finds the previous release, searches for the pull requests merged between the two, and drafts notes from their descriptions, grouped into **Action needed**, **New**, **Improved**, **Fixed** and **Security**. Internal-only changes are skipped and counted. It never creates, edits or publishes a release, never comments, and posts nothing.

## What you give it

| Input | Required | What to put in |
| - | - | - |
| `repo` | Yes | The repository, as `owner/repo`, for example `octocat/hello-world`. |
| `tag` | Yes | The release's tag, for example `v1.4.0`. |

## What it needs connected

* **GitHub** (read): reads releases and searches pull requests.

## How it runs

1. **Read releases.** Reads the release at your tag and lists recent releases to find the one before it.
2. **Find merged pull requests.** Searches for pull requests merged between the previous release's publish time and this one's.
3. **Draft the notes.** Drafts grouped notes from the pull request descriptions. It checks them against every pull request named in the release body and lists any the search missed under **Unknowns**. If the search found nothing but the release body names pull requests, it warns at the top that the notes may be incomplete.
4. **Render and save.** Turns the notes into Markdown and saves them as a downloadable file.

## What you get

One Markdown file with the grouped notes, a change count, the number of internal changes skipped, and an **Unknowns** section.

These are model instructions, not guarantees. Check the counts and claims against the pull requests before you share the notes.

## Tips

* Write clear pull request descriptions; the notes come from them.
* Name pull requests in the release body, so they can be cross-checked.
* Read the **Unknowns** section before sharing.

## Use it

See [Use a public agent](https://docs.joystream.ai/agents/overview.md#use-a-public-agent).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.