Skip to content

Commit 7e57138

Browse files
committed
Add Minder profile
1 parent 68a1ef1 commit 7e57138

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

minder-profile.yaml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Minder Profile to demo features
2+
version: v1
3+
type: profile
4+
name: demo-profile
5+
context:
6+
provider: github
7+
alert: "on"
8+
remediate: "on"
9+
repository:
10+
- name: main-protection
11+
type: branch_protection_enabled
12+
params:
13+
branch: main
14+
def: {}
15+
- name: main-disallow-force-push
16+
type: branch_protection_allow_force_pushes
17+
params:
18+
branch: main
19+
def:
20+
allow_force_pushes: false
21+
- name: main-enforce-admins
22+
type: branch_protection_enforce_admins
23+
params:
24+
branch: main
25+
def:
26+
enforce_admins: true
27+
- name: main-enforce-review
28+
type: branch_protection_require_pull_request_approving_review_count
29+
params:
30+
branch: main
31+
def:
32+
required_approving_review_count: 1
33+
- type: dependabot_configured
34+
def:
35+
package_ecosystem: pip
36+
schedule_interval: weekly
37+
apply_if_file: requirements.txt
38+
- name: pin-actions
39+
type: actions_check_pinned_tags
40+
def:
41+
exclude:
42+
- actions/checkout@v3
43+
artifact:
44+
- type: artifact_signature
45+
params:
46+
tags: [main]
47+
name: bad-python
48+
def:
49+
is_signed: true
50+
is_verified: true
51+
pull_request:
52+
- type: pr_vulnerability_check
53+
def:
54+
action: review
55+
ecosystem_config:
56+
- name: pypi
57+
vulnerability_database_type: osv
58+
vulnerability_database_endpoint: https://api.osv.dev/v1/query
59+
package_repository:
60+
url: https://pypi.org/pypi
61+
- type: pr_trusty_check
62+
def:
63+
action: summary
64+
ecosystem_config:
65+
- name: npm
66+
score: 5
67+
- name: pypi
68+
score: 5

0 commit comments

Comments
 (0)