ibrahimfw/Spectral Linting
Lint your files with Spectral
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
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) | yes | ${{ github.token }} |
| event_name | The name of the event that triggered the workflow | yes | ${{ github.event_name }} |
Outputs
no outputs