Documentation
¶
Overview ¶
renovatedup finds repositories that apply their organisation's Renovate preset twice.
renovatedup # every organisation the account belongs to renovatedup --orgs go-crdt,go-tex
The defect (go-crdt/.github#45, measured with a debug run): an organisation's self-hosted config.js sets inheritConfig, inheritConfigRepoName and inheritConfigFileName, and Renovate then merges that inherited file into EVERY repository -- and also reads the repository's own renovate.json. A repository whose renovate.json says `extends: ["github>ORG/.github"]` therefore applies the same default.json a second time, and every customManager is registered twice (the dashboard showed `regex (4)` where it should say `(2)`).
Cost: ONE GraphQL query per organisation page of 100 repositories, with each repository's candidate config files as `object(expression: "HEAD:<path>")` aliases and the .github repository's config.js beside them. GraphQL has its own budget, separate from the REST one other sessions exhaust.
Exit status: 0 no duplicate and everything read, 1 at least one duplicate, 2 something could not be read -- an organisation's query failed, a config is not strict JSON, no organisation at all. An unread is not a clean answer, so 2 outranks 1.