• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mindersec / minder / 11726515957
58%

Build:
DEFAULT BRANCH: main
Ran 07 Nov 2024 04:00PM UTC
Jobs 1
Files 292
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Nov 2024 03:50PM UTC coverage: 54.77% (+0.007%) from 54.763%
11726515957

push

github

web-flow
Validate rego when parsing rule types (#4906)

This adds rego module parsing as part of the rule type validation. This
enables us to catch errors faster as opposed to needing to evaluate a
policy to figure out if the rule type was valid.

If we have a rule with invalid rego, we'd get errors as follows:

```
$ mindev ruletype lint -r rule-types/github/no_binaries_in_repo.yaml
error validating rule type from file rule-types/github/no_binaries_in_repo.yaml: invalid rule type
invalid rule type definition: rego definition is invalid: 1 error occurred: minder-ruletype-def.rego:16: rego_parse_error: unexpected eof token
	  msg := sprintf("Binary artifact found: %s", [current_file])
	                                                            ^
Error: failed linting rule type
Message: Error on execute
Details: failed linting rule type
```

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

15536 of 28366 relevant lines covered (54.77%)

40.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11726515957.1 07 Nov 2024 04:00PM UTC 0
54.77
GitHub Action Run
Source Files on build 11726515957
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11726515957
  • 67bd38d9 on github
  • Prev Build on main (#11724906955)
  • Next Build on main (#11730833741)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc