stoplightio / spectral-action

GitHub Action wrapper for Spectral - a JSON/YAML/OpenAPI/AsyncAPI/etc linter with custom rule support.
https://stoplight.io/open-source/spectral
Apache License 2.0
85 stars 46 forks source link

Invalid path for spectral errors when using a standalone schema #620

Closed mnaumanali94 closed 2 years ago

mnaumanali94 commented 2 years ago

In this repository: https://github.com/ibrahimfw/ci-lint

Action shows error on the wrong file and the wrong line number (Its the end line instead of the start line).

CLI shows the correct error Screenshot 2021-09-22 at 1 42 52 AM