Skip to content

Commit 00d5925

Browse files
authored
fix(ci): update ci configs (#179)
1 parent 312878b commit 00d5925

File tree

3 files changed

+12
-74
lines changed

3 files changed

+12
-74
lines changed

.bulldozer.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
11
---
2-
merge:
3-
allow_merge_with_no_checks: false
4-
delete_after_merge: true
5-
merge_method:
6-
- method: squash
7-
trigger:
8-
max_commits: 3
9-
method: rebase
10-
options:
11-
squash:
12-
body: summarize_commits
13-
title: pull_request_title
14-
required_statuses:
15-
- 'policy-bot: main'
16-
version: 1
2+
remote: nrkno/nrk-bot-configs
3+
path: plattform/utvikleropplevelse/bulldozer/bulldozer.yaml
4+
ref: main

.policy.yml

Lines changed: 3 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,4 @@
11
---
2-
policy:
3-
approval:
4-
- and:
5-
- status checks
6-
- or:
7-
- plattform-utvikleropplevelse-approval
8-
- dependabot-patch
9-
- dependabot-minor
10-
disapproval:
11-
requires:
12-
teams:
13-
- "nrkno/plattform-utvikleropplevelse"
14-
15-
approval_rules:
16-
- name: status checks
17-
description: A rule that requires status checks to be green
18-
if:
19-
has_successful_status:
20-
- "lint_release / Commit lint"
21-
22-
- name: plattform-utvikleropplevelse-approval
23-
description: A rule that requires approval from one in a team
24-
if:
25-
requires:
26-
count: 1
27-
teams:
28-
- "nrkno/plattform-utvikleropplevelse"
29-
options:
30-
request_review:
31-
enabled: true
32-
mode: teams
33-
34-
- name: dependabot-patch
35-
description: Rule to approve PR when label is patch, author is dependabot
36-
if:
37-
has_author_in:
38-
users:
39-
- "dependabot[bot]"
40-
author_is_only_contributor: true
41-
has_labels:
42-
- "dependencies"
43-
- "patch"
44-
has_valid_signatures: true
45-
requires:
46-
count: 0
47-
48-
- name: dependabot-minor
49-
description: Rule to approve PR when label is minor, author is dependabot
50-
if:
51-
has_author_in:
52-
users:
53-
- "dependabot[bot]"
54-
author_is_only_contributor: true
55-
has_labels:
56-
- "dependencies"
57-
- "minor"
58-
has_valid_signatures: true
59-
requires:
60-
count: 0
2+
remote: nrkno/nrk-bot-configs
3+
path: plattform/utvikleropplevelse/policy-bot/policy-bot.yaml
4+
ref: main

renovate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"github>nrkno/nrk-bot-configs//plattform/utvikleropplevelse/renovate/renovate.json"
5+
]
6+
}

0 commit comments

Comments
 (0)