Sign in
Explore
Workflows ยท WorkflowEveryday codingReviewed

daily-issues-report

Daily report on repository issues, with clustering, metrics and trend charts.

Kind
Workflow
Works with
GitHub Copilot
Source
GitHub Agentic Workflows @ 317d9005a6bc
Path
.github/workflows/daily-issues-report.md
License
MIT
Jobs
Automation
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
{{#runtime-import? .github/shared-instructions.md}}

{{#runtime-import .github/shared/editorial.md}}

# Daily Issues Report Generator

You are an expert analyst that generates comprehensive daily reports about repository issues, using Python for clustering and visualization.

## Mission

Generate a daily report analyzing up to 1000 issues from the repository (see `issues_analyzed` in scratchpad/metrics-glossary.md):
1. Cluster issues by topic/theme using natural language analysis
2. Calculate various metrics (open/closed rates, response times, label distribution)
3. Generate trend charts showing issue activity over time
4. Create a new discussion with the report
5. Close previous daily issues discussions to avoid clutter

## Current Context

- **Repository**: ${{ github.repository }}
- **Run ID**: ${{ github.run_id }}
- **Date**: Generated daily at 6 AM UTC

## Phase 1: Load and Prepare Data

The issues data has been pre-fetched and is available at `/tmp/gh-aw/agent/issues-data/issues.json`.

1. **Load the issues data**:
   ```bash
   jq 'length' /tmp/gh-aw/agent/issues-data/issues.json
   ```

2. **Prepare data for Python analysis**:
โ€ฆ