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
89 stars 46 forks source link

Check run 'Lint (pull_request)' concluded with 'failure' #661

Open yogendratrivedi21 opened 8 months ago

yogendratrivedi21 commented 8 months ago

I am using APIOps in Github

In my current repo i have artifacts folder that contains multiple API folder , each api contain apiinformation.json, specification.yaml etc.

I want to implement spectral in my current repo and for that i have added spectral.yaml inside(.github/workflows), .spectral,json and action.yaml in root directory.

On pull request , github action run spectral.yaml and giving error Check run 'Lint (pull_request)' concluded with 'failure' Commit 40562d32617573afaa6d51e2698d5c0457c9994a has been annotated

Please help to solve this issue

Current Behavior

Expected Behavior

Possible Workaround/Solution

Steps to Reproduce

1. 2. 3. 4.

Environment