chore(renovate): adopt the shared elixir preset - #17
Merged
Conversation
This repository has never had a Renovate configuration. It was split out in July and the wiring was never done, so nothing updates its hex dependencies or its mix.lock, and no dependency dashboard exists to make that visible. The :elixir preset already exists and is in use by tenbin_dns, tdig, tenbin_ex, tenbin_cache and elixir_dnstap; this is the same one line those repositories carry. The preset restricts enabledManagers to mix and github-actions, which is exactly this repository's dependency surface: mix.exs plus two workflows that call the shared elixir-ci and ai-review workflows on the moving v1 tag. It also pins the Erlang/OTP floor used to regenerate lock files to ^27, without which every mix.lock update fails to install Elixir 1.20. Committing the file is only half of it -- the repository also has to be added to the Renovate app installation, which is tracked in smkwlab/latex-ecosystem#174. Claude-Session: https://claude.ai/code/session_01A4evmv8455WAdCJ4sFbmpZ
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.
問題
このリポジトリには Renovate の設定が無い。2026-07 に分離・新設されて以降、配線されないままになっていた。
mix.lockも更新されない:elixirpreset は既に存在し、tenbin_dns / tdig / tenbin_ex / tenbin_cache / elixir_dnstap が同じ 1 行で利用している。変更
.github/renovate.jsonを追加し、共有 preset を参照する。{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["github>smkwlab/.github:elixir#v1"] }preset が持ち込むもの:
enabledManagersmixとgithub-actionsのみ。このリポジトリの依存面(mix.exs+ workflows 2 本)と一致するconstraints.erlang^27。これが無いと Elixir 1.20 のインストールに失敗し、mix.lock更新が毎回空コミットで落ちるlockFileMaintenanceワークフローが参照している
smkwlab/.github/.github/workflows/*.yml@v1は移動タグのままで変わらない。:elixirは github-actions の digest 固定を行わない。補足
ファイルの commit だけでは動かない。Renovate App のインストール対象にこのリポジトリを追加する必要があり、そちらは smkwlab/latex-ecosystem#174 で追跡している。