actions-marketplace-validations/Spectral Linting

Lint your files with Spectral

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jul 16, 2025
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/stoplightio_spectral-action@6416fd018ae38e60136775066eb3e98172143141 # no releases — HEAD as of 2026-07-12

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
file_globThe pattern describing the file paths to lint with Spectralyes*.oas.{json,yml,yaml}
spectral_rulesetCustom 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_tokenThe 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_nameThe name of the event that triggered the workflow no${{ github.event_name }}

no outputs