Configuration

ReleaseRay reads one optional file, .releaseray/config.yml. The config input changes the path. Without the file, the defaults write for the three built-in personas, so you only add the keys you want to change.

Every key is optional except version. Values merge in this order, later winning: built-in defaults, the file, then the Action's inputs.

Add this first line so editors with a YAML language server check the file as you type:

# yaml-language-server: $schema=https://raw.githubusercontent.com/cristobalmitchell/releaseray/v1/schema/releaseray.schema.json

Rules that span keys (persona names in outputs, internal personas on published outputs, provider settings) are checked by mode: validate-config and at the start of every run. Credentials never go in this file: keys come from environment variables in your workflow.


A Complete Example

Most keys in one file. Copy the parts you need.

# yaml-language-server: $schema=https://raw.githubusercontent.com/cristobalmitchell/releaseray/v1/schema/releaseray.schema.json
version: 1

range:
  tagPattern: "v*"
  includePrereleases: false

classification:
  categories:
    - id: infrastructure
      title: Infrastructure
      labels: ["area: infra", "/^terraform/"]
      conventionalTypes: [build, ci]
      internal: true
  exclude:
    labels: [skip-release-notes, dependencies]
    authors: ["renovate[bot]"]
    titlePatterns:
      - "^chore\\(release\\):"
      - "/^promote .* to (staging|production)/i"

enrichment:
  linkedIssues: true
  comments: false
  maxBodyChars: 4000

personas:
  - slug: engineer # built-in, trimmed and extended
    sections:
      - { id: breaking-changes, name: "Breaking Changes", categories: [breaking] }
      - { id: features, name: "Features", categories: [features, improvements] }
      - { id: fixes, name: "Fixes", categories: [fixes, performance] }
      - { id: infrastructure, name: "Infrastructure", categories: [infrastructure] }
  - slug: customer # built-in, retuned
    tone: { formality: 30, technicalDepth: 10, enthusiasm: 60, detail: 40 }
    include: { identifiers: false, contributors: false, upgradeInstructions: false }
  - slug: sales # custom; inherits internal visibility
    extends: internal
    name: Sales enablement
    instructions: |
      Lead with the customer problem each change solves. One sentence per item.

outputs:
  summary: { personas: all } # internal personas are still withheld on public repositories
  githubRelease: { persona: engineer, mode: section, onHumanEdit: skip }
  changelog: { enabled: true, persona: engineer, push: true }

llm:
  provider: openai
  model: gpt-5-mini

github:
  onBudgetExceeded: fail

sanitize:
  allowedDomains: [github.com, docs.example.com]

Version

The config format version.

KeyTypeDefaultDescription
version1Always 1.

Range

How the commits for a release are chosen. Everything comes from local git, so the checkout needs fetch-depth: 0.

KeyTypeDefaultDescription
range.tagPatternstringv*Glob over tag names that count as releases, as git tag --list reads it.
range.includePrereleasesbooleanfalseLet a prerelease tag be the previous tag of a release.
range.allowNonAncestorbooleanfalseAllow an explicit from that is not an ancestor of to. The allow-non-ancestor input sets it for one run.
range.fallbackToCommitsbooleantrueWrite notes from commit messages when no commit names a pull request.
range.maxPullRequestsinteger 1–5000250Stop before any REST call when a range names more pull requests than this; set from or narrow the window.

Classification

Categories, the labels and commit types that map to them, and what to leave out. Configured categories merge over the nine built-ins by id.

KeyTypeDefaultDescription
classification.categorieslist of object[]Categories to add, or built-in categories to change, by id.
classification.categories[].idstringSlug. A built-in id (breaking, security, features, improvements, fixes, performance, deprecations, docs, internal) changes that category.
classification.categories[].titlestringName the classifier and the model see. Default: the built-in title, or the id in words.
classification.categories[].labelslist of stringPull request labels that put a change here: exact names (any case) or /regex/flags.
classification.categories[].conventionalTypeslist of stringConventional-commit types that map here, such as feat, fix or ci.
classification.categories[].internalbooleanHide this category from personas that exclude internal changes.
classification.conventionalCommitsbooleantrueRead conventional-commit prefixes in titles and commits.
classification.fallbackCategorystringimprovementsCategory for changes with no other signal; unknown model sections merge into its section.
classification.exclude.labelslist of string["skip-release-notes"]Pull requests with any of these labels are left out (exact names or /regex/).
classification.exclude.authorslist of string[]Pull requests by these logins are left out, such as renovate[bot].
classification.exclude.titlePatternslist of string[]Regular expressions (source or /source/flags) matched against commit subjects and pull request titles; matches are left out.

Enrichment

What is fetched from GitHub besides each pull request's title and labels. More enrichment means more REST requests and a longer prompt.

KeyTypeDefaultDescription
enrichment.bodiesbooleantrueSend pull request and issue bodies to the model.
enrichment.linkedIssuesbooleantrueFetch issues that pull request bodies link to (one request each).
enrichment.maxLinkedIssuesinteger 0–500100Most linked issues fetched per release.
enrichment.commentsbooleanfalseFetch comments and reviews (two requests per pull request, one per issue). Off by default: it costs requests and widens prompt-injection exposure.
enrichment.commentAuthorAssociationslist of OWNER | MEMBER | COLLABORATOR["OWNER","MEMBER","COLLABORATOR"]Keep only comments from these author associations.
enrichment.maxBodyCharsinteger 0–200004000Characters of each body sent to the model.

Personas

Who the notes are written for. Entries merge over the built-ins engineer, internal and customer by slug; other slugs add personas.

KeyTypeDefaultDescription
personaslist of objectPersona entries, merged over the built-ins by slug.
personas[].slugstringLowercase id. engineer, internal and customer change a built-in; anything else adds a persona.
personas[].extendsengineer | internal | customerStart a new persona from a built-in's rules and sections.
personas[].namestringDisplay name in the summary.
personas[].descriptionstringWho this persona is for; sent to the model.
personas[].enabledbooleantrueSet false to stop generating this persona.
personas[].visibilitypublic | internalinternal personas are withheld from public outputs and from public repositories' summaries. Default: internal for internal and personas extending it.
personas[].tone.formalityinteger 0–1000 casual to 100 formal. Default 50; 0 is kept.
personas[].tone.technicalDepthinteger 0–1000 plain language to 100 technical. Default 50.
personas[].tone.enthusiasminteger 0–1000 neutral to 100 enthusiastic. Default 30.
personas[].tone.detailinteger 0–1000 brief to 100 comprehensive. Default 50.
personas[].instructionsstringExtra instructions for the model, up to 2,000 characters.
personas[].instructionsFilestringLike instructions, from a file under .releaseray/.
personas[].include.identifiersbooleanShow pull request and issue numbers and commit SHAs.
personas[].include.breakingChangesbooleanAsk for breaking changes.
personas[].include.migrationGuidesbooleanAsk for migration guides.
personas[].include.highlightsbooleanRender the Highlights section.
personas[].include.upgradeInstructionsbooleanRender upgrade instructions.
personas[].include.contributorsbooleanRender the contributors line (from pull request authors).
personas[].sectionslist of objectThe sections to write, in order (at most 15). Replaces the persona's default sections.
personas[].sections[].idstringSlug. A standard section id (breaking-changes, features, bug-fixes, …) keeps its category mapping.
personas[].sections[].namestringHeading in the notes.
personas[].sections[].descriptionstringWhat belongs in this section; sent to the model.
personas[].sections[].categorieslist of string[]Category ids this section collects. Empty: the standard section's categories, or the category with the same id.
personas[].sections[].enabledbooleantrueSet false to hide the section.
personas[].excludeCategorieslist of stringCategory ids this persona never shows. The built-in customer persona excludes internal.

Outputs

Where the notes go. The job summary and workspace files are on by default; the GitHub Release is written when publish resolves to true.

KeyTypeDefaultDescription
outputs.summary.enabledbooleantrueWrite notes, usage and completeness to the job summary.
outputs.summary.personasall | list of stringallall, or the slugs to show.
outputs.files.enabledbooleantrueWrite <dir>/<key>/<persona>.md and notes.json in the workspace.
outputs.files.dirstring.releaseray/notesDirectory for the workspace files, relative to the checkout.
outputs.githubRelease.enabledbooleantrueWrite a block into the GitHub Release when publish resolves to true.
outputs.githubRelease.personastringengineerThe persona whose notes go into the release.
outputs.githubRelease.modesection | replacesectionsection appends a marked block and keeps other text; replace writes the whole body.
outputs.githubRelease.onHumanEditskip | overwriteskipskip leaves a block a person edited; overwrite replaces it.
outputs.githubRelease.createIfMissingbooleanfalseCreate the release when none exists for the tag. The create-release input sets it for one run.
outputs.githubRelease.nameTemplatestringRelease {{tag}}Name of a created release; {{tag}} is the tag.
outputs.githubRelease.prereleaseauto | booleanautoPrerelease flag of a created release; auto follows SemVer.
outputs.changelog.enabledbooleanfalseWrite a marked entry into the CHANGELOG file in the workspace.
outputs.changelog.pathstringCHANGELOG.mdCHANGELOG path, relative to the checkout.
outputs.changelog.personastringengineerThe persona whose notes go into the CHANGELOG.
outputs.changelog.onHumanEditskip | overwriteskipskip leaves an entry a person wrote or edited; overwrite replaces it.
outputs.changelog.pushbooleanfalseCommit and push the entry. The push input sets it for one run.
outputs.changelog.branchstringBranch to push to. Default: the checked-out branch, else the default branch.
outputs.changelog.commitMessagestringdocs(changelog): {{key}}Commit subject; {{key}} is the release key.
outputs.changelog.author.namestringCommit author name. Default: github-actions[bot].
outputs.changelog.author.emailstringCommit author email.
outputs.notifylist of object[]Slack, Teams and Intercom. Arrives in v1.1; rejected until then.
outputs.allowInternalOutputsbooleanfalseAllow an internal persona on the GitHub Release or CHANGELOG.
outputs.allowInternalOnPublicRepobooleanfalseShow internal personas in the summary and files of a public repository.

LLM

The model provider and its limits. Keys come from environment variables, never from this file.

KeyTypeDefaultDescription
llm.provideropenai | bedrock | anthropicopenaiopenai (or any OpenAI-compatible endpoint), bedrock or anthropic.
llm.modelstringModel id. Default: gpt-5-mini on openai, Claude Haiku 4.5 on bedrock, claude-opus-5-5 on anthropic. Bedrock accepts inference-profile ARNs.
llm.baseUrlstringOpenAI-compatible endpoint (openai only).
llm.regionstringAWS region (bedrock only; required there).
llm.maxCompletionTokensinteger 256–6553616384Most tokens per model response.
llm.maxInputTokensinteger 1000–9007199254740991200000Most input tokens per persona call, estimated at 4 characters each and checked before any call.
llm.concurrencyinteger 1–103Persona calls in parallel.
llm.retriesinteger 0–53Times to ask again after invalid output; transient errors retry separately.
llm.pricing.inputPer1Mnumber ≥ 0USD per million input tokens, for a model the built-in table lacks.
llm.pricing.outputPer1Mnumber ≥ 0USD per million output tokens.

GitHub requests

The REST request budget and what to do when a release would exceed it.

KeyTypeDefaultDescription
github.maxRequestsinteger 1–9007199254740991Request cap for a run. Default: 90% of the token's hourly core limit.
github.concurrencyinteger 1–101REST reads in parallel. Writes are always serial.
github.onBudgetExceededfail | wait | degradefailWhen the estimate does not fit: fail (exit 3), wait for the reset within maxWaitMinutes, or degrade (drop comments, then linked issues). Also governs llm.maxInputTokens.
github.maxWaitMinutesinteger 0–3000Longest wait for a rate-limit reset. Raise the job's timeout-minutes to match.

Sanitizing

What is removed from published text.

KeyTypeDefaultDescription
sanitize.allowedDomainslist of string["github.com","gitlab.com"]Hosts (and their subdomains) whose links are kept; other links are redacted.
sanitize.redactPathsbooleantrueRemove file paths from published text.

Rendering

How the Markdown looks.

KeyTypeDefaultDescription
render.emojibooleantrueEmoji in section headings.
render.compareLinkbooleantrueEnd with a compare link from the previous tag.

Related docs:

We value your privacy

We use cookies to enhance your experience. Essential cookies are required for the site to function. You can choose to accept all cookies or manage your preferences.