Skip to content

Commit

Permalink
Changed exclusions to exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Tader <[email protected]>
  • Loading branch information
Paul Tader authored and ptader committed Oct 30, 2024
1 parent 9b96267 commit 0187abe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ against a set of rules provided by the user.

Rules take the form of a pattern to match the license against, a name to identify the rule, a mode to either allow,
deny, or ignore the license,
a reason for the rule, and a list of packages that are exclusions to the rule.
a reason for the rule, and a list of packages that are exceptions to the rule.
```
pattern: "*gpl*"
name: "deny-gpl"
mode: "deny"
reason: "GPL licenses are not allowed"
exclusions:
exceptions:
- "alpine-base-layout" # We don't link against this package so we don't care about its license
```

Expand Down Expand Up @@ -109,7 +109,7 @@ rules:
name: "deny-gpl"
mode: "deny"
reason: "GPL licenses are not allowed per xxx-xx company policy"
exclusions:
exceptions:
- "alpine-base-layout" # We don't link against this package so we don't care about its license
```
Expand Down

0 comments on commit 0187abe

Please sign in to comment.