Closed4

renovate概要調査

harayuharayu

https://docs.renovatebot.com/
依存関係を自動で更新してくれるdependabotのようなもの。

https://docs.renovatebot.com/getting-started/use-cases/#how-renovate-updates-a-package-file
依存関係をアップデートする流れは上記に記載。

Scans your repositories to find package files and their dependencies
Checks if any newer versions exist
Raises Pull Requests for available updates
The Pull Requests patch the package files directly, and include changelogs for the newer versions (if they are available).

harayuharayu

dependabotとrenovateの比較
https://techblog.szksh.cloud/compare-renovate-dependabot/
https://zenn.dev/h2tomo/articles/77e5cc5b856187#renovateとdependabotの違い
https://qiita.com/takiga/items/6ec7b9c9613ec8bf7d51

二つを比較してRenovateのメリットは下記

Renovate

harayuharayu

https://docs.github.com/ja/code-security/dependabot/ecosystems-supported-by-dependabot/supported-ecosystems-and-repositories#dependabot-について

Dependabotでできることは下記3つ

  • Dependabot alerts: リポジトリで使われている依存関係の脆弱性についてユーザーに通知します。
  • Dependabot security updates: 使われている依存関係のうち、既知のセキュリティ脆弱性があるものを更新するための pull request を自動的に生成します。
  • Dependabot version updates: 依存関係を最新に保つための pull request を自動的に生成します。

Dependabot alertsと同様の機能がRenovateにあればRenovateの方が良さそう

harayuharayu

https://kakehashi-dev.hatenablog.com/entry/2024/09/06/110000
Dependabot, Renovateを併用して脆弱性管理してるところもあった
脆弱性の管理・アラート -> Depandabot
脆弱性の対応も含めた依存関係の更新 -> Renovate

Dependabot Alertsを有効化することでDependabot Security Updates相当の機能が使えるようになります。 リポジトリでDependabot Alertsを有効化すると、自動的にrenovateがセキュリティ対応PRを作成し始めます。renovateのデフォルト設定でDependabot Alerts連携が有効になっているので、renovateの設定変更は不要です。

これめちゃくちゃ良い

このスクラップは2025/05/25にクローズされました