Skip to content

Commit 0bdb887

Browse files
parse Codeowners to Policybot config (#80)
This is a part of coopnorge/cloud-platform-team#1172 This PR was automatically generated by a codemod implemented in the following PR: coopnorge/codemod#223
1 parent 456c9ef commit 0bdb887

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

.policy.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
policy:
2+
approval:
3+
- or:
4+
- Dependabot update
5+
- Code change
6+
approval_rules:
7+
- name: Dependabot update
8+
if:
9+
only_has_contributors_in:
10+
users:
11+
- dependabot[bot]
12+
only_changed_files:
13+
paths:
14+
- ^\.github/workflows/.*$
15+
has_valid_signatures_by_keys:
16+
key_ids:
17+
- B5690EEEBB952194
18+
requires:
19+
count: 1
20+
teams:
21+
- coopnorge/github-review-bots
22+
- coopnorge/engineering
23+
options:
24+
invalidate_on_push: true
25+
methods:
26+
github_review: true
27+
comments: []
28+
request_review:
29+
enabled: true
30+
mode: random-users
31+
count: 2
32+
- name: Code change
33+
if:
34+
changed_files:
35+
paths:
36+
- .*
37+
requires:
38+
count: 1
39+
teams:
40+
- coopnorge/engineering
41+
options:
42+
invalidate_on_push: true
43+
methods:
44+
github_review: true
45+
comments: []
46+
request_review:
47+
enabled: true
48+
mode: random-users
49+
count: 2

0 commit comments

Comments
 (0)