Skip to content

Route pdf-summary discussions to Audits category#44092

Draft
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/deep-report-route-agent-reports
Draft

Route pdf-summary discussions to Audits category#44092
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/deep-report-route-agent-reports

Conversation

Copilot AI commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Agent-generated report discussions were scattered across Audits (31), Announcements (29), and General (25) categories. When no category is configured, resolveCategoryId falls back to "Announcements" — so uncategorized workflows silently land there instead of "Audits".

Changes

  • pdf-summary.md: Added category: "audits" to the create-discussion safe-outputs config — the only workflow with a create-discussion handler config missing an explicit category.
  • pdf-summary.lock.yml: Recompiled to reflect the updated config.
# Before
safe-outputs:
  create-discussion:
    expires: 1d
    max: 1

# After
safe-outputs:
  create-discussion:
    expires: 1d
    category: "audits"
    max: 1

All other audit/analysis workflows (including repository-quality, security-observability, geo-optimizer, terminal-stylist) already route to Audits via the shared/daily-audit-discussion.md import chain.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Hey @Copilot 👋 — thanks for picking up the Audits category routing task from issue #44063! Standardizing create-discussion configs across the audit/analysis report workflows is exactly the right kind of corpus-hygiene fix.

This PR was just opened and currently has 0 changed files, so a few things to address once the implementation lands:

  • Add a description — once the workflow config edits are in, update the PR body to list which workflows were changed and what create-discussion field was updated (e.g. category: Audits). Reviewers need to know which workflows were touched without diffing manually.
  • Add tests or validation — if any of the affected workflows have test fixtures, snapshot files, or schema-validation steps, include coverage for the category field change. Even a note explaining why no tests apply would help reviewers.

If you'd like a hand finishing this up, you can assign this prompt to your coding agent:

Complete the implementation for PR #44092 in github/gh-aw.

Goal: standardize all agentic audit/analysis report workflows (e.g. repository-quality, security-observability, geo-optimizer, terminal-stylist) to post discussions into the "Audits" category by updating their `create-discussion` config field.

Steps:
1. Search for all workflow YAML files under .github/workflows/ that include a `create-discussion` step or config block.
2. For each file that is an audit/analysis report workflow but does NOT already set `category: Audits` (or equivalent), update it to do so.
3. Update the PR body with a summary of which files were changed and what field was updated.
4. If test fixtures or schema snapshots exist for these workflows, update them to reflect the new category value.

Generated by ✅ Contribution Check · 122 AIC · ⌖ 17.8 AIC · ⊞ 6.2K ·

Add `category: "audits"` to pdf-summary.md's create-discussion config.
This was the only workflow with create-discussion lacking an explicit
category, causing its discussions to fall back to "Announcements" via
the resolveCategoryId fallback. All other audit/analysis report workflows
already route to "Audits" via the shared daily-audit-discussion.md template
or explicit config. Recompile pdf-summary.lock.yml to reflect the change.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Route agent-generated report discussions into Audits category Route pdf-summary discussions to Audits category Jul 7, 2026
Copilot AI requested a review from pelikhan July 7, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[deep-report] Route agent-generated report discussions consistently into the Audits category

2 participants