Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 832 Bytes

File metadata and controls

38 lines (26 loc) · 832 Bytes

GitHub Triage Agent

An automated agent that triages new GitHub issues by posting a welcome comment and logging actions.

What it does

  • Detects newly opened issues
  • Posts an automated comment on new issues
  • suggests a label on new issues
  • Skips old issues and issues it has already triaged
  • Logs all actions to memory.json

Setup

  1. Clone the repo
  2. Create a virtual environment and install dependencies:
   pip install -r requirements.txt
  1. Create a .env file:
   GITHUB_TOKEN=your_personal_access_token
   GITHUB_REPO=owner/repo-name

Running locally

python agent.py

Deployment

The agent runs automatically via GitHub Actions whenever a new issue is opened. To set it up, add GITHUB_REPO as a secret in your repo's Settings → Secrets and variables → Actions.