microsoft / PSRule.Rules.GitHub

A suite of rules to validate GitHub repositories using PSRule.
MIT License
21 stars 15 forks source link

Add resource API versions #66

Closed BernieWhite closed 3 years ago

BernieWhite commented 3 years ago

From PSRule v1.2.0 onward apiVersion should be set on YAML resources such as Baseline and ModuleConfig. When not set a warning is generated.

Each resource needs to be updated to the apiVersion property.