You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Backstage entity validator
v0.2.7
This package can be used as a GitHub action or a standalone node.js module
Optional Path to the catalog-info.yaml file to validate. Defaults to catalog-info.yaml
at the root of the repository.
None. Prints out the validated YAML on success. Prints out errors on invalid YAML
- uses: RoadieHQ/[email protected]
with:
path: 'catalog-info-1.yaml'
Optional Path to the catalog-info.yaml file to validate. Defaults to catalog-info.yaml
at the root of the repository.
None. Prints out the validated YAML on success. Prints out errors on invalid YAML
description: >
Sample catalog-info.yaml validation
usage:
version: 2.1
orbs:
entity-validator: "roadiehq/[email protected]"
workflows:
use-entity-validator:
jobs:
- entity-validator/validate:
path: catalog-info.yaml
npm install
npm run validate <path-to-file-to-be-validated.yaml>
bin/bev <path-to-file-to-be-validated.yaml>
npm install @roadiehq/backstage-entity-validator -g
validate-entity <path-to-file-to-be-validated.yaml>