← All projects

chatty-issues

Cassiopeia · Updated February 2026

Turn a GitHub Issue thread into a conversational chat interface powered by the OpenAI API, orchestrated entirely with GitHub Actions.

Chatty-Issues — POC

Turn a GitHub Issue thread into a conversational chat interface powered by the OpenAI API, orchestrated entirely with GitHub Actions.

No external database: the issue thread is the conversation state.

Setup

  1. Add a repository secret

    • OPENAI_API_KEY (required)
  2. Optional: add a repository variable

    • OPENAI_MODEL — if unset, the script uses gpt-4o-mini.
  3. Commit and push the workflows in .github/workflows/ (and package-lock.json for reproducible installs).

How it works

Both workflows use npm ci and then npm run respond (runs scripts/respond.mjs).

Repository structure

PathPurpose
.github/workflows/Issue-opened and issue-commented workflows
scripts/respond.mjsBuilds chat history, calls OpenAI, posts comments
prompts/system.mdVersioned system prompt for the assistant
specs/Chat history and OpenAI request contracts
docs/POC notes and limitations

Notes