Optional Path to the catalog-info.yaml file to validate. Defaults to catalog-info.yaml at the root of the repository. It also can be a glob like services/*/catalog-info.yaml or a list of files separated by comma users.yaml,orgs/company.yaml.
Optional Specify whether the output should be verbose. Default true.
Optional Specify the location of the validation schema file.
None. Prints out the validated YAML on success. Prints out errors on invalid YAML
- uses: step-security/backstage-entity-validator@v0
with:
path: 'catalog-info-1.yaml'
- uses: step-security/backstage-entity-validator@v0
with:
path: 'catalog-info-1.yaml,catalog-info-2.yaml,catalog-info-3.yaml'
- uses: step-security/backstage-entity-validator@v0
with:
path: 'catalog-info-*.yaml,services/**/*/catalog-info.yaml'
- uses: step-security/backstage-entity-validator@v0
with:
path: 'catalog-info-*.yaml,services/**/*/catalog-info.yaml'
validationSchemaFileLocation: 'custom-validation-schema.json'
