Validates a YAML file by converting it to JSON and validating it using a JSON schema retrieved from a remote API endpoint.
Required The HTTP API endpoint which returns the JSON schema.
Required The name of the YAML file to validate.
- name: YAML file validation
uses: mpoc/nexus-validate-using-remote-schema-action@main
with:
api-endpoint: 'http://example.com/validate'
yaml-file: assignment.yml