anthropics / anthropics/claude-code-action

Useless message when API key spend limit is reached

未关闭
#876 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug dev-experience p2 provider:1p
主要语言
TypeScript
星标
8.9k
派生
2.1k
平均合并
3 天 9 小时
30 天内合并 PR
10

描述

**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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。