Use shared Renovate preset from smkwlab/.github - #30
Conversation
Replace the duplicated Renovate configuration with a one-line extends of the org-wide shared Elixir preset pinned to the v1 tag. The mix manager config, lockFileMaintenance, grouping and auto-merge behavior are now defined centrally in smkwlab/.github (elixir.json @ v1); behavior is preserved. Part of the ecosystem-wide Renovate consolidation (smkwlab/.github#28, #29).
There was a problem hiding this comment.
Pull request overview
This PR consolidates Renovate configuration by replacing the repository-local, duplicated settings with an extends reference to the org-wide shared Elixir preset in smkwlab/.github pinned to #v1.
Changes:
- Replace the full local Renovate configuration with a single shared preset reference (
github>smkwlab/.github:elixir#v1).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| { | ||
| "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
| "extends": ["config:recommended"], | ||
| "enabledManagers": ["mix"], | ||
| "schedule": ["before 6am on monday"], | ||
| "timezone": "Asia/Tokyo", | ||
| "lockFileMaintenance": { | ||
| "enabled": true, | ||
| "schedule": ["before 6am on monday"] | ||
| }, | ||
| "packageRules": [ | ||
| { | ||
| "matchManagers": ["mix"], | ||
| "matchDatasources": ["hex"], | ||
| "matchUpdateTypes": ["minor", "patch", "digest", "lockFileMaintenance"], | ||
| "groupName": "elixir dependencies", | ||
| "automerge": true, | ||
| "platformAutomerge": true | ||
| } | ||
| ] | ||
| "extends": ["github>smkwlab/.github:elixir#v1"] | ||
| } |
There was a problem hiding this comment.
ご指摘ありがとうございます。正確です — dependencyDashboard と semanticCommits: enabled は共有土台 default.json 由来で新たに有効になります。
これは意図的な org標準化です。latex-ecosystem 側のリポジトリは既にこれらを使用しており、Elixir 系も共有プリセットの採用に合わせて同じ org標準(依存ダッシュボード+セマンティックコミット)に揃える方針です。
「behavior preserved」が指していたのは依存更新の実質挙動(mix のグループ化・スケジュール・lockFileMaintenance・minor/patch/digest の自動マージ)で、これらは維持されます。コミットメッセージ形式とダッシュボードは org標準へ統一、という位置づけです。PR説明の表現はこの趣旨に合わせて補足します。
レビュー対応 (Copilot指摘)共有プリセット 結論: 意図的な org標準化として採用します。
この方針は本PRを含む Elixir 系5repo 共通です。なお PR説明の「behavior preserved」は依存更新挙動を指す旨を上記で補足しました。 |
| "platformAutomerge": true | ||
| } | ||
| ] | ||
| "extends": ["github>smkwlab/.github:elixir#v1"] |
Summary
Replace the duplicated Renovate configuration with a one-line
extendsof the org-wide shared Elixir preset, pinned to thev1tag.{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["github>smkwlab/.github:elixir#v1"] }The mix-manager config,
lockFileMaintenance, grouping (elixir dependencies), and grouped minor/patch/digest auto-merge are now defined centrally insmkwlab/.github(elixir.json@v1), so behavior is preserved.Context
Part of the ecosystem-wide Renovate consolidation. Shared presets added/pinned in smkwlab/.github#28 and #29 (merged, released as
v1.6.0). The Elixir preset intentionally retains minor/lockFileMaintenance auto-merge as a documented exception to the org's patch/digest-only default.