Repository navigation
Expand file tree
/
Copy pathconfig.js
More file actions
50 lines (50 loc) · 2.51 KB
/
Copy pathconfig.js
File metadata and controls
50 lines (50 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Renovate for this organisation, and only this one.
//
// One organisation is a few repositories, so a run never comes near the five
// thousand API requests an hour a token has. A shared runner over hundreds of
// organisations does, and then it walks the list in the same order every time
// and the tail is never reached — silently, while the head keeps producing
// pull requests and the whole thing looks like it works. That is why this is
// here rather than in a fleet-wide runner.
//
// Each repository extends default.json beside this file, which is where the
// policy lives.
module.exports = {
platform: 'github',
// The account blocks pushes that expose a non-noreply email, and Renovate's
// default author is bot@renovateapp.com. Left alone, every branch push is
// rejected and the run still reports success.
gitAuthor: 'tannevaled <tannevaled@users.noreply.github.com>',
autodiscover: true,
autodiscoverFilter: ['go-embedded-ruby/**'],
onboarding: false,
requireConfig: 'optional',
// An OBJECT, not the boolean it used to be. Renovate 46.3.14 reports the
// boolean form as a config needing migration and prints the diff
//
// - "dependencyDashboard": true,
// + "dependencyDashboard": { "enabled": true },
//
// then exits 1 — so the bot's OWN pull request bumping the action is the one
// that goes red, and the lane stays red until this line is written the new
// way. Read from the failing job's log, not inferred: the node bump open at
// the same time passed the same lane, which is what says it is this and not
// the runner.
dependencyDashboard: { enabled: true },
repositoryCache: 'enabled',
// default.json beside this file is a PRESET, and a preset reaches a
// repository only through an `extends` that names it. Sitting in the
// organisation applies it to nothing: with onboarding:false and
// requireConfig:'optional', a repository carrying no config file runs on
// Renovate's factory defaults and says so only at debug level --
// "No renovate config file found". Measured 2026-09-03: 77 of the 835
// repositories across the 117 organisations that run Renovate were in that
// state, so the Go toolchain guard in default.json had never been in force
// on any of them.
inheritConfig: true,
inheritConfigRepoName: '{{parentOrg}}/.github',
inheritConfigFileName: 'default.json',
// Loud when absent. Left at its default of false, Renovate proceeds silently
// when the file is missing -- the same failure, one level up.
inheritConfigStrict: true,
};