anthropics / anthropics/claude-code-action

Automatic mode detection in v1 makes it impossible to use a stored prompt with @claude triggers

Đang mở
#757 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug p2
Ngôn ngữ chính
TypeScript
Star
8.9k
Fork
2.1k
Merge trung bình
3 ngày 9 giờ
Pull request đã merge (30 ngày)
10

Mô tả

**Describe the bug**
I want to provide a default prompt AND trigger code reviews solely with `@claude` mentions. It would be great if the default prompt was only used when the `@claude` mention isn't followed by an explicit prompt, but if this isn't possible, ignoring the explicit prompts is good enough for me.

I don't understand why `prompt` and `@claude` were changed to be mutually exclusive.

See https://github.com/anthropics/claude-code-action/blob/main/docs/faq.md#how-does-automatic-mode-detection-work

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Workflow yml file**
If it's not sensitive, consider including a paste of your full Claude workflow.yml file.

**API Provider**

[ ] Anthropic First-Party API (default)
[ ] AWS Bedrock
[ ] GCP Vertex

**Additional context**
Add any other context about the problem here.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.