-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.json
More file actions
72 lines (62 loc) · 3.05 KB
/
Copy pathdefault.json
File metadata and controls
72 lines (62 loc) · 3.05 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// Shared Renovate preset for dodi-smart.
//
// Use it from a repo with:
// { extends: ["github>dodi-smart/.github"] }
//
// Only what is TRUE OF EVERY REPO lives here. Ecosystem rules stay in the
// repo that has that ecosystem, because a rule matching nothing is worse than no
// rule: it reads as coverage.
//
// The filename is load-bearing and must stay `default.json`. For a bare
// `github>owner/repo`, Renovate fetches `default.json` and nothing else; a
// `.json5` file is fetched only when the extending repo names it in full. On a
// 404 Renovate falls back to `renovate.json`, which in this repo extends this
// preset, so resolution goes circular and the whole preset resolves to nothing
// -- silently, in every repo extending it. Comments are fine: Renovate parses
// a `.json` preset as JSONC.
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
// Listed AFTER best-practices so it wins. config:recommended's
// :semanticPrefixFixDepsChoreOthers would otherwise make production deps
// `fix(deps)`, which every .releaserc in this org maps to a PATCH release,
// so a dependency bump would cut a release. Forcing `chore(deps)` everywhere
// means it does not.
":semanticCommitTypeAll(chore)"
],
"timezone": "Europe/Sofia",
// Every repo in this org develops on `develop`. Pinned explicitly rather than
// inherited from the default branch, so behaviour stays correct if the default
// branch ever changes. Note Renovate READS its config from the default branch.
"baseBranchPatterns": ["develop"],
// Deterministic prefix; the default is "auto", which is not.
"semanticCommits": "enabled",
"dependencyDashboard": true,
// The label the deps-verify workflow and every saved query expect. To change
// it, edit this config first, then rename the label. Never delete and
// recreate: that silently strips it from every existing PR.
"labels": ["deps:update"],
// Weekly batch. Security PRs ignore the schedule.
"schedule": ["before 6am on monday"],
// NOTE: vulnerabilityAlerts is on by default via config:recommended and works
// on the Mend hosted community app, but only fires if GitHub "Dependabot
// alerts" are enabled for the repo. osvVulnerabilityAlerts is deliberately NOT
// used. Experimental, and uncertain on the community tier.
"packageRules": [
// Keep Actions on readable version tags. best-practices pins digests, which
// turns every workflow into a wall of SHAs and makes review harder for a
// threat this org is not defending against.
{ "matchManagers": ["github-actions"], "pinDigests": false },
// Non-major Action bumps are CI-gated and boring. Auto-merge them.
{
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch"],
"groupName": "github actions",
"automerge": true
},
// Majors are labelled for visibility, never auto-merged (automerge defaults
// to false, so this rule only adds the label).
{ "matchUpdateTypes": ["major"], "addLabels": ["deps:major"] }
]
}