Skip to content

Commit f257170

Browse files
authored
DPT-2249 Add quality-gate.manifest.json (#1416)
1 parent f902d55 commit f257170

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

quality-gate.manifest.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/govuk-one-login/quality-gates/refs/tags/v0.1.0/schemas/schema.json",
3+
"services": [
4+
{
5+
"quality-gates": [
6+
{
7+
"check-types": ["unit", "code style and linting", "vulnerability detection", "code quality"],
8+
"phase": "pre-merge",
9+
"provider": "GitHub",
10+
"config": {
11+
"file": ".github/workflows/test-and-validate.yml",
12+
"name": "Test and validate iac and lambdas"
13+
}
14+
},
15+
{
16+
"check-types": [
17+
"unit test coverage",
18+
"code quality",
19+
"secret scanning",
20+
"sensitive data scanning",
21+
"vulnerability detection"
22+
],
23+
"config": {
24+
"file": ".github/workflows/code-quality-sonarcloud.yml",
25+
"name": "SonarCloud Code Analysis"
26+
},
27+
"phase": "pre-merge",
28+
"provider": "GitHub"
29+
},
30+
{
31+
"check-types": [
32+
"vulnerability detection"
33+
],
34+
"config": {
35+
"file": ".github/workflows/ensure-sha-pinned-actions.yml",
36+
"name": "Ensure SHA pinned actions"
37+
},
38+
"phase": "pre-merge",
39+
"provider": "GitHub"
40+
},
41+
{
42+
"check-types": ["unit", "code style and linting", "vulnerability detection", "code quality"],
43+
"phase": "pre-upload",
44+
"provider": "GitHub",
45+
"config": {
46+
"file": ".github/workflows/test-and-validate.yml",
47+
"name": "Test and validate iac and lambdas"
48+
}
49+
}
50+
],
51+
"service-tag": "data-dpt"
52+
}
53+
]
54+
}

0 commit comments

Comments
 (0)