Repository navigation
Expand file tree
/
Copy pathrenovate.json5
More file actions
55 lines (55 loc) · 2.87 KB
/
Copy pathrenovate.json5
File metadata and controls
55 lines (55 loc) · 2.87 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
// DO NOT EDIT. This file is generated by `devctl gen renovate` and kept in sync
// by the giantswarm/github align-files workflow. Repo-specific Renovate rules
// belong in renovate-custom.json5 (repo root) -- it is added as the last
// `extends` entry when present and never touched by devctl. Rules for a whole
// class of repos belong in giantswarm/renovate-presets instead.
{
extends: [
// Base config - https://github.com/giantswarm/renovate-presets/blob/main/default.json5
'github>giantswarm/renovate-presets:default.json5',
// Go specific config - https://github.com/giantswarm/renovate-presets/blob/main/lang-go.json5
'github>giantswarm/renovate-presets:lang-go.json5',
// ATS (app-test-suite) test deps - https://github.com/giantswarm/renovate-presets/blob/main/tests-ats.json5
// Disables per-repo Renovate for tests/ats/Pipfile: that file is owned
// centrally in giantswarm/devctl and regenerated by align-files, so per-repo
// bumps would only fight the regeneration. Emitted on the generated path
// (same condition as the architect orb disable below); a no-op for repos
// without an ats/ Pipfile, so it is safe to extend for all generated-CI repos.
'github>giantswarm/renovate-presets:tests-ats.json5',
// Repo-owned overrides -- last entry, so its rules win over the presets.
// Renovate resolves this from the default branch on every run: edits are
// live on merge, no regeneration needed.
'github>giantswarm/devctl:renovate-custom.json5',
],
// Our own bots commit onto Renovate branches. The giantswarm-release
// GitHub App pushes what the generated workflows produce
// (zz_generated.helm-docs-regen.yaml, the update-chart and
// sync-from-upstream flows); taylorbot <dev@giantswarm.io> did so before
// it and still does in repositories whose workflows are not regenerated
// yet. giantswarm-marge[bot] writes the bot PR's
// changelog entry during the sweep, in the repositories that still cut a
// release from CHANGELOG.md. Renovate treats a branch whose last commit is
// by anyone else as edited by a human: it stops rebasing it and, on
// autoclose, retitles the PR "- abandoned" instead of closing it. Listing
// the authors here makes those commits Renovate's own. Renovate compares
// the author email, so these are the bare addresses.
gitIgnoredAuthors: [
'342014845+giantswarm-release[bot]@users.noreply.github.com',
'dev@giantswarm.io',
'329428426+giantswarm-marge[bot]@users.noreply.github.com',
],
packageRules: [
{
// .circleci/config.yml is generated by `devctl gen circleci`, which bakes
// in the giantswarm/architect orb version. Disable Renovate's orb updates
// so they stop fighting the align-files regeneration.
matchDatasources: [
'orb',
],
matchPackageNames: [
'giantswarm/architect',
],
enabled: false,
},
],
}