Skip to content

chore(renovate): adopt the shared elixir preset - #17

Merged
toshi0806 merged 1 commit into
mainfrom
add-renovate-config
Aug 25, 2026
Merged

chore(renovate): adopt the shared elixir preset#17
toshi0806 merged 1 commit into
mainfrom
add-renovate-config

Conversation

@toshi0806

Copy link
Copy Markdown
Member

問題

このリポジトリには Renovate の設定が無い。2026-07 に分離・新設されて以降、配線されないままになっていた。

  • hex 依存も mix.lock も更新されない
  • Dependency Dashboard が無いため、更新が滞っていること自体が見えない

:elixir preset は既に存在し、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 が持ち込むもの:

設定 内容
enabledManagers mixgithub-actions のみ。このリポジトリの依存面(mix.exs + workflows 2 本)と一致する
constraints.erlang ^27。これが無いと Elixir 1.20 のインストールに失敗し、mix.lock 更新が毎回空コミットで落ちる
hex の自動マージ minor まで(org 全体の patch/digest 限定方針に対する意図的な例外)
lockFileMaintenance 月曜早朝。直接依存の bump では書き換わらない推移的依存を定期的に洗い流す

ワークフローが参照している smkwlab/.github/.github/workflows/*.yml@v1 は移動タグのままで変わらない。:elixir は github-actions の digest 固定を行わない。

補足

ファイルの commit だけでは動かない。Renovate App のインストール対象にこのリポジトリを追加する必要があり、そちらは smkwlab/latex-ecosystem#174 で追跡している。

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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

追加された .github/renovate.json は、PR の説明と一致しており、他のリポジトリと同じ共有 preset を参照する最小限の設定です。内容に技術的な問題は見当たりません。

@toshi0806
toshi0806 merged commit 675495d into main Aug 25, 2026
6 checks passed
@toshi0806
toshi0806 deleted the add-renovate-config branch August 25, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant