chore: Dependabotの設定を追加 - #29
Merged
Merged
Conversation
- セキュリティ更新は引き続き受け取る - 通常のバージョン更新のPRは作らない(open-pull-requests-limit: 0) セキュリティ更新はこの上限の対象外 - Next.js 15系以降への更新PRを抑止(14系のパッチ更新は通知される) update-typesはセキュリティ更新に効かないため、versionsで範囲指定している Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Px1Wc29YVQhjBD3Sju8vAg
✅ Deploy Preview for rococo-monstera-807791 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughDependabotのnpm依存関係更新設定を追加し、週次確認、通常更新PRの抑止、Next.js 15系以降の除外を定義した。 ChangesDependabot設定
Estimated code review effort: 1 (Trivial) | ~2 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
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.
概要
Dependabot の PR が溜まりやすい状態を解消するため、
.github/dependabot.ymlを追加する。セキュリティ更新は引き続き受け取りつつ、方針として採用しない更新の PR が繰り返し作られるのを防ぐ。変更内容
.github/dependabot.ymlを新規追加open-pull-requests-limit: 0)nextとeslint-config-nextの>=15.0.0を ignore技術的な詳細
なぜ
update-typesではなくversionsで指定しているかDependabot options reference に以下の記載がある。
update-types: ["version-update:semver-major"]ではセキュリティ更新由来の PR を止められないため、versions: [">=15.0.0"]で範囲指定している。ignore自体はセキュリティ更新にも適用される。open-pull-requests-limit: 0の効果同ドキュメントに以下の記載がある。
そのため、この設定でも脆弱性の通知は失われない。
Next.js を 14 系に固定する理由
output: 'export'の静的サイトで、サーバーを持たずimages.unoptimized: trueのため該当しない影響と注意点
npm outdated/npm updateを実行して管理するテスト内容
.github/dependabot.ymlの YAML 構文をパースして検証(package-ecosystem: npm、open-pull-requests-limit: 0、ignore2件を確認)関連
🤖 Generated with Claude Code
https://claude.ai/code/session_01Px1Wc29YVQhjBD3Sju8vAg
Summary by CodeRabbit