anthropics / anthropics/claude-code-action

Allow progress tracking without final summary comment

Open
#1,016 1 comment 2 reactions 0 assignees View on GitHub
feature-request p3
Dominant language
TypeScript
Stars
8.9k
Forks
2.1k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

## Problem

When `track_progress: true` is set, the action posts a tracking comment that updates as Claude works — great for visibility. However, when Claude finishes, the tracking comment is replaced with a large final summary wrapping Claude's output (e.g., "Claude finished @user's task in Xm Ys" with a task checklist and full output).

When running automated PR reviews, this summary adds noise to PRs. The skill already posts its own concise review (inline comments via `gh pr review` / `mcp__github_inline_comment__create_inline_comment`), so the summary is redundant and verbose.

Setting `track_progress: false` removes the summary but also removes all progress visibility — there's no middle ground.

## Use case

We have a workflow triggered by `@claude /pr-review` on PR comments, with plans to run it automatically on `pull_request` events. The skill posts its own formatted review with inline comments. We want:
- Progress updates while Claude is working
- The skill's review to be the only final output — no additional summary comment

## Requested solution

One of:
1. A new input like `track_progress_summary: false` that keeps the live progress updates but minimizes or removes the tracking comment when done (e.g., collapses to a one-liner or deletes itself).
2. A way to customize the final summary template.
3. Having the tracking comment delete itself upon completion.

## Current workaround

Setting `track_progress: false` and losing progress visibility entirely.

## Workflow yml file

```yaml
name: Claude Code

on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]

jobs:
review:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude') && contains(github.event.comment.body, '/pr-review') && github.event.issue.pull_request) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude') && contains(github.event.comment.body, '/pr-review'))
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: refs/pull/${{ github.event.issue.number || github.event.pull_request.number }}/head
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
track_progress: false # Would prefer true, but the summary adds noise
prompt: "/pr-review --post"
claude_args: |
--max-turns 30
--allowedTools "Read,Glob,Grep,Task,Bash(gh:*),Bash(git log:*),Bash(git blame:*),mcp__github_inline_comment__create_inline_comment"
```

## API Provider

[x] Anthropic First-Party API (default)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.