You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| At least one `Severity.ERROR` rule failed | N/A | 1 | Always fails the run |
95
-
| At least one `Severity.WARNING` rule failed, no `Severity.ERROR` failed |`False` (default) | 0 | Run is considered successful, warnings are reported |
96
-
| At least one `Severity.WARNING` rule failed, no `Severity.ERROR` failed |`True`| 1 | Treat warnings as failures;exit with failure |
97
-
| All rules passed or skipped | N/A | 0 | Run is considered successful |
| At least one `Severity.ERROR` rule failed | N/A |`False`| 1 | Always fails the run |
105
+
| At least one `Severity.ERROR` rule failed, but fixed | N/A |`True`| 0 | Run is considered successful, error reasons are reported and `Fixed=true`|
106
+
| At least one `Severity.WARNING` rule failed, no `Severity.ERROR` failed |`False` (default) | N/A | 0 | Run is considered successful, warnings are reported |
107
+
| At least one `Severity.WARNING` rule failed, no `Severity.ERROR` failed |`True`|`False`| 1 | Treat warnings as failures;exit with failure |
108
+
| At least one `Severity.WARNING` rule failed, no `Severity.ERROR` failed, but fixed |`True`|`True`| 0 | Run is considered successful, warnings are reported and `Fixed=true`|
109
+
| All rules passed or skipped | N/A | N/A | 0 | Run is considered successful |
98
110
99
111
### Dump Results as JSON
100
112
@@ -117,7 +129,8 @@ Then a JSON file named `result.json` will be generated as follows:
117
129
"severity": "<WARNING/ERROR: str>",
118
130
"description": "<Description: str>",
119
131
"status": "<PASSED/FAILED/SKIPPED: str>",
120
-
"reasons": "<[<Reason1>, <Reason2>, ...]: [str; N] | null>" // Failed or skipped reasons, null if passed
132
+
"reasons": "<[<Reason1>, <Reason2>, ...]: [str; N] | null>", // Failed or skipped reasons, null if passed
133
+
"fixed": "<Fixed: bool>"
121
134
},
122
135
]
123
136
}
@@ -134,3 +147,4 @@ Here is the description of the JSON format:
134
147
- `description`: A description of the rule.
135
148
- `status`: What happened when it ran.
136
149
- `reasons`: An array of reasons for failure or skipped rules, null if passed.
0 commit comments