Commit b8df27e
authored
fix: remove code check dependency for ci check (#144)
This change closes #143 by updating the evaluation logic to remove any check
on the contents of the repository beyond those contents in `.github/workflows`
This is a bit of subtle bug in that the control's result remains the same, but
the underlying reason changes when the control is run against a repository that
has no workflows in `.github/workflows`
This change was tested and produced the result:
```yaml
- requirement-id: OSPS-BR-01.01
applicability:
- Maturity Level 1
- Maturity Level 2
- Maturity Level 3
description: When a CI/CD pipeline accepts an input parameter, that parameter MUST be sanitized and validated prior to use in the pipeline.
result: Passed
message: "content not found at .github/workflows: directory '.github' not found in path '.github/workflows'"
steps:
- github.com/revanite-io/pvtr-github-repo/evaluation_plans/osps/build_release.cicdSanitizedInputParameters
steps-executed: 1
```
Signed-off-by: Travis Truman <trumant@gmail.com>1 parent be60dc3 commit b8df27e
2 files changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 43 | | |
48 | 44 | | |
49 | 45 | | |
| |||
0 commit comments