Skip to content

Commit d9e5e79

Browse files
authored
ci(server, schema): renovate and pre commit config (#469)
* ci: add renovate config Signed-off-by: András Jáky <ajaky@cisco.com> * ci: add pre-commit hook Signed-off-by: András Jáky <ajaky@cisco.com> --------- Signed-off-by: András Jáky <ajaky@cisco.com>
1 parent 0587152 commit d9e5e79

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: fmt
5+
name: fmt
6+
description: Run task fmt to format proto, schema, and Elixir files.
7+
entry: task fmt
8+
language: system
9+
pass_filenames: false

renovate.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:recommended"],
4+
"enabledManagers": ["dockerfile", "github-actions", "mix", "gomod"],
5+
"packageRules": [
6+
{
7+
"matchManagers": ["mix"],
8+
"matchUpdateTypes": ["patch"],
9+
"automerge": true
10+
},
11+
{
12+
"matchManagers": ["gomod"],
13+
"matchUpdateTypes": ["patch"],
14+
"automerge": true
15+
},
16+
{
17+
"matchManagers": ["github-actions"],
18+
"matchUpdateTypes": ["minor", "patch"],
19+
"automerge": true
20+
},
21+
{
22+
"matchManagers": ["dockerfile"],
23+
"matchUpdateTypes": ["minor", "patch"],
24+
"automerge": true
25+
},
26+
{
27+
"matchCategories": ["vulnerability"],
28+
"enabled": true,
29+
"automerge": true,
30+
"addLabels": ["security"]
31+
}
32+
],
33+
"semanticCommits": "enabled",
34+
"labels": ["dependencies"]
35+
}

0 commit comments

Comments
 (0)