---
name: "Address Review Comments (command)"
description: >-
  Addresses code review feedback when a maintainer comments /autofix on a PR.
  Same behavior as the automatic address-review workflow but manually triggered.

on:
  slash_command:
    name: autofix
    events: [pull_request_comment]
    strategy: centralized
  roles: [admin, maintainer, write]
  reaction: "eyes"

permissions:
  contents: read
  pull-requests: read
  actions: read
  copilot-requests: write

imports:
  - shared/address-review-shared.md

safe-outputs:
  messages:
    footer: "> 🤖 **Automated content by GitHub Copilot.** Generated by the [{workflow_name}]({agentic_workflow_url}) workflow.{ai_credits_suffix} · [◷]({history_link})"
  noop:
    report-as-issue: false

timeout-minutes: 60
---

<!-- Body provided by shared/address-review-shared.md -->
