anthropics / anthropics/claude-code-action

Useless message when API key spend limit is reached

Đang mở
#876 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug dev-experience p2 provider:1p
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**
When the API key used for GitHub action has reached its monthly limit, the error is not indicative and is misleading, in our case it was:

The github_ci MCP server requires 'actions: read' permission. Please ensure your GitHub token has this permission. See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token

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

1. Reach spend limit with your API key
2. GitHub Action invocation
3. See error message

**Expected behavior**
An indicative error in the run history

**Screenshots**
N/A

**Workflow yml file**
N/A

**API Provider**

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

**Additional context**
N/A

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.