Created
February 21, 2022 14:02
-
-
Save koozz/09ac03c4f43d51e40a68059e14bb89e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package person | |
deny["Missing name."] { | |
not input.person.name | |
} | |
deny["Missing 'teams' element."] { | |
not input.person.teams | |
} | |
warn["No team defined, please configure one."] { | |
count(input.person.teams) == 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment