actions-marketplace-validations/Spectral Linting
Lint your files with Spectral
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jul 16, 2025
- License
- Apache 2.0
Pinned Snippet
uses: actions-marketplace-validations/stoplightio_spectral-action@6416fd018ae38e60136775066eb3e98172143141 # no releases — HEAD as of 2026-07-12tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| file_glob | The pattern describing the file paths to lint with Spectral | yes | *.oas.{json,yml,yaml} |
| spectral_ruleset | Custom ruleset to load in Spectral. When unspecified, will try to load the default ruleset (matching .spectral.{yaml,yml,js,json}) if it exists. | no | — |
| repo_token | The GitHub App installation access token. [Learn more about `GITHUB_TOKEN`](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#about-the-github_token-secret) | no | ${{ github.token }} |
| event_name | The name of the event that triggered the workflow | no | ${{ github.event_name }} |
Outputs
no outputs