dependency-updates does not know `.github/renovate.json5`
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Renovate 的位置是 checks/dependency_updates.py 第 7 行附近的一個 tuple;請在其中加入 .github/renovate.json5 以及其他列出的路徑。Scala Steward 需要在同一檢查中新增一個 .scala-steward.conf 項目,而該 issue 沒有指定測試檔案。完成標準是:僅包含 .github/renovate.json5(內容為 {})的儲存庫在依賴更新檢查中得到 PASS,並且 Scala Steward 的情況也得到處理。
由索引模型根據 Issue 內容生成。
描述
prettier (whose CI runs renovate-config-validator on it), vite, okhttp, junit5 and opentelemetry-proto carry .github/renovate.json5 and get WARN "no automated dependency updates configured". checks/dependency_updates.py lists renovate.json5 and .github/renovate.json but not .github/renovate.json5. Also: Scala Steward (.scala-steward.conf, validated in CI by cats and http4s) is the Scala ecosystem's update bot.
Evidence from the corpus audit
prettier/prettier, vitejs/vite / dependency-updates
- kind: FALSE_NEGATIVE
- actual: WARN:
no automated dependency updates configured - expected: PASS: both repositories carry a Renovate configuration at
.github/renovate.json5(prettier's CI even validates it). - evidence: prettier
.github/renovate.json5:1-3:{/$schema: "https://docs.renovatebot.com/renovate-schema.json",/dependencyDashboardApproval: true,;
prettier.github/workflows/lint.yml:71:run: yarn dlx --package renovate@latest renovate-config-validator; vite:.github/renovate.json5exists.
Validatorchecks/dependency_updates.py:7:("Renovate", ("renovate.json", "renovate.json5", ".github/renovate.json", ".renovaterc", ".renovaterc.json"))
—.github/renovate.json5(and.renovaterc.json5,.gitlab/renovate.json*) are missing from Renovate's documented locations. - repro: a repo with only
.github/renovate.json5containing{}. - confidence: high
square/okhttp, junit-team/junit5 / dependency-updates
- kind: FALSE_NEGATIVE
- actual:
WARN: no automated dependency updates configured(both) - expected: PASS: Renovate is configured
- evidence: okhttp
.github/renovate.json5(file exists;.github/workflows/build.yml:52even runsrinchsan/renovate-config-validator); junit5.github/renovate.json5;
validatorproject_validator/checks/dependency_updates.py:7:("Renovate", ("renovate.json", "renovate.json5", ".github/renovate.json", ".renovaterc", ".renovaterc.json"))—.github/renovate.json5(and.renovaterc.json5,.gitlab/renovate.json[5]) are missing from the list - repro: a repo with only
.github/renovate.json5containing{} - confidence: high
open-telemetry/opentelemetry-proto / dependency-updates
- kind: FALSE_NEGATIVE
- actual: WARN: no automated dependency updates configured
- expected: PASS: a Renovate configuration exists at
.github/renovate.json5(the# renovate-friendlyDockerfile andhelpers:pinGitHubActionDigestsToSemvershow it is live). - evidence:
.github/renovate.json5:1-5:"$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:best-practices", ...]; validatorproject_validator/checks/dependency_updates.py:7:("Renovate", ("renovate.json", "renovate.json5", ".github/renovate.json", ".renovaterc", ".renovaterc.json"))—.github/renovate.json5is missing from the tuple (Renovate also accepts.github/renovate.json5,.gitlab/renovate.json5,.renovaterc.json5). - repro: a repo with only
.github/renovate.json5containing{"extends": ["config:recommended"]}. - confidence: high
typelevel/cats, http4s/http4s / dependency-updates
- kind: UNSUPPORTED
- actual:
[WARN] dependency-updates: no automated dependency updates configured - expected: PASS: Scala Steward is the Scala ecosystem's update bot and both repos configure it and validate the config in CI.
- evidence:
.scala-steward.confin cats, http4s (also metals and scalafmt, which PASS through Dependabot);
cats.github/workflows/ci.yml:398:- run: scala-steward validate-repo-config .scala-steward.conf; http4sci.yml:311(same).
Source:checks/dependency_updates.py:6-7knows Dependabot and Renovate configurations only. - repro: an sbt project with a
.scala-steward.conf. - confidence: high
clap-rs/clap, starship/starship, astral-sh/ruff / dependency-updates
- kind: FALSE_NEGATIVE
- actual: WARN: no automated dependency updates configured
- expected: PASS: Renovate is configured in
.github/renovate.json5, a location Renovate documents - evidence:
clap-rs__clap/.github/renovate.json5,starship__starship/.github/renovate.json5,astral-sh__ruff/.github/renovate.json5exist (ls .github);
validatorchecks/dependency_updates.py:7:("Renovate", ("renovate.json", "renovate.json5", ".github/renovate.json", ".renovaterc", ".renovaterc.json"))—.github/renovate.json5missing - repro: a repo with only
.github/renovate.json5({}) → WARN - confidence: high
Found by the regression-corpus audit (235 real repositories, one or more per ecosystem profile; corpus and expected results in corpus/). Evidence is quoted from the audited checkouts at the commits pinned in corpus/projects.toml; <checkouts>/<owner>__<repo> is such a checkout.
🤖 Generated with Claude Code
- 主要語言
- Python
- 星號
- 4
- 分支
- 1
- 平均合併
- 10 小時 41 分鐘
- 30 天內合併 PR
- 79
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
cpp-best-practices/project_validator 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 62/100
cpp-best-practices/project_validator#267 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
cpp-best-practices/project_validator#263 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
cpp-best-practices/project_validator#260 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
cpp-best-practices/project_validator#259 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
cpp-best-practices/project_validator#255 ·
維護者通常 1 天內回覆
查看 cpp-best-practices/project_validator 的全部 Issue
相似的 Issue
-
documentation type/bug
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 65/100
StevenBlack/hosts#3299 ·
-
`garak --report` overwrites the input report when its name has no ".report"可能已有人在做 @0z5a 今天認領。 未關閉needs-triage
難度 2/5 半天 新手友好度 72/100
維護者通常 2 天內回覆
-
trace: Pi's 1-hour cache writes are priced at 1.25x, but billed at 2x可能已有人在做 @Shizoqua 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
microsoft/TokenEconomizer#221 ·
維護者通常 1 天內回覆
-
plot_graph crashes when a mesh node has no m2m edge可能已有人在做 @tygvi 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
mllam/neural-lam#883 · 1 則留言 ·
維護者通常 2 天內回覆