Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Github CLI for getting changed file list is buggy

未关闭
#255 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
github, github-actions, typescript
领域
ci-cd

调研方向

该 issue 指出了 GitHub CLI 的已更改文件获取问题,并链接到 CLI issue #10712;首先跟踪 action 的已更改文件列表入口,并使用 diff 超过 20,000 行的 pull request 重现 406 情况。完成标准是:对于该情况,action 能够获取文件列表,而不依赖失败的 diff 响应,并为此次回归提供覆盖测试。

由索引模型根据 Issue 内容生成。

描述

area/quality area/tools kind/bug priority/p3 status/needs-triage
TL;DR

Currently we are using github cli for getting the changed files list and it has a issue which throws 406 if changes are more than 20k lines but files are less.

could not find pull request diff: HTTP 406: Sorry, the diff exceeded the maximum number of lines (20000) (https://api.github.com/repos/org/repo/pulls/714)
PullRequest.diff too_large

The number of file changes in this PR is 150 only, should explore some other solution for getting file change list.

Expected behavior

No response

Observed behavior

No response

Action YAML
-
Log output

Additional information

No response

主要语言
TypeScript
星标
2.1k
派生
288
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

google-github-actions/run-gemini-cli 的其他 Issue

查看 google-github-actions/run-gemini-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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