Skip to content

Commit 0e51514

Browse files
renovate[bot]renovate-botbuehler
authored
chore: Configure Renovate (#142)
Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Christoph Bühler <[email protected]>
1 parent 35c7bca commit 0e51514

File tree

3 files changed

+50
-3
lines changed

3 files changed

+50
-3
lines changed

.github/workflows/security-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Code Security Testing
22

33
on:
4-
push:
5-
branches: [master]
64
pull_request:
7-
branches: [master]
5+
branches:
6+
- master
7+
- release
88
schedule:
99
- cron: '0 20 * * 5'
1010

DotnetOperatorSdk.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ ProjectSection(SolutionItems) = preProject
3131
config\stylecop.json = config\stylecop.json
3232
.gitignore = .gitignore
3333
.releaserc.json = .releaserc.json
34+
renovate.json = renovate.json
3435
EndProjectSection
3536
EndProject
3637
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KubeOps.Testing", "src\KubeOps.Testing\KubeOps.Testing.csproj", "{4A6D1BEB-CB4C-495A-A20D-D8728F6BBC93}"

renovate.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"$schema": "http://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"labels": [
7+
"dependencies"
8+
],
9+
"vulnerabilityAlerts": {
10+
"labels": [
11+
"dependencies-security"
12+
]
13+
},
14+
"automerge": true,
15+
"timezone": "Europe/Zurich",
16+
"ignorePaths": [],
17+
"packageRules": [
18+
{
19+
"paths": [
20+
"tests/**/*",
21+
"config/CodeAnalysis.targets"
22+
],
23+
"groupName": "testing dependencies",
24+
"groupSlug": "test",
25+
"semanticCommitType": "chore",
26+
"semanticCommitScope": "test deps"
27+
},
28+
{
29+
"paths": [
30+
"build/**/*"
31+
],
32+
"groupName": "build dependencies",
33+
"groupSlug": "build",
34+
"semanticCommitType": "chore",
35+
"semanticCommitScope": "build deps"
36+
},
37+
{
38+
"paths": [
39+
"src/**/*"
40+
],
41+
"groupName": "dependencies",
42+
"semanticCommitType": "fix",
43+
"semanticCommitScope": "deps"
44+
}
45+
]
46+
}

0 commit comments

Comments
 (0)