fix: GitHub Events API破壊的変更に対応しSearch APIへ移行#1307
Merged
Conversation
GitHub Events APIが2025年10月にペイロードを簡素化し、PushEventのcommitsやPullRequestEventのtitle等が削除されたため、 PR・Commit・IssueのデータをSearch APIから取得するよう移行。 Events APIはStar/Fork/Create/Delete/Commentsの取得に引き続き使用する。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Search API移行により、excludeチェックボックスがPR/CommitのRenovate/Dependabotフィルタとして 機能しなくなっていたため、Search APIデータ用のフィルタ関数を追加 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
kusaツールのGitHub contribution表示(PR・Commit・Issue)がSearch APIから取得されるよう移行。
Why
GitHub Events APIが2025年10月にペイロードを簡素化する破壊的変更を適用し、以下のフィールドが削除された:
PushEventのcommits配列(コミットSHA、メッセージ、author)PullRequestEventのpull_request.title,html_url,state,merged,additions,deletions等これにより、kusaツールのGroup By Repo/Simple ListビューでPRタイトルやコミットメッセージが表示されなくなっていた。
参考: https://github.blog/changelog/2025-08-08-upcoming-changes-to-github-events-api-payloads/
How
確認観点
pnpm build成功pnpm lintエラーなしpnpm test:ci全78テスト通過🤖 Generated with Claude Code