Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linter gets stuck on invalid YAML files #645

Open
ajrice6713 opened this issue Jun 29, 2022 · 0 comments
Open

Linter gets stuck on invalid YAML files #645

ajrice6713 opened this issue Jun 29, 2022 · 0 comments

Comments

@ajrice6713
Copy link

Ran the linter action on an openapi spec with a the text of a git merge conflict committed and it was stuck continuously running, eventually hitting GitHub action rate limit

Context

Linter costing money to run private actions + producing false positives

Current Behavior

Linter fails on invalid files

Expected Behavior

Linter should fail fast on invalid files

Steps to Reproduce

  1. Use the attached global.yml spec file which has a Git unresolved merge conflict in it.
  2. Run a Spec Validate action on it
  3. Job summary shows it succeeded with green checkmark, but actual result is an error:
    /!\ issues detected
    Error: You have exceeded a secondary rate limit. Please wait a few minutes before you try again.
    

Environment

  • Version used: stoplightio/spectral-action@v0.8.2
  • Environment name and version (e.g. Chrome 39, node.js 5.4): GitHub Actions
  • Operating System and version (desktop or mobile): ubuntu-latest

spec-and-logs.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant