Skip to content

Run Spectral on Pull Requests #1

Run Spectral on Pull Requests

Run Spectral on Pull Requests #1

Workflow file for this run

name: Run Spectral on Pull Requests
on:
workflow_dispatch:
jobs:
build:
name: Run Spectral
runs-on: ubuntu-latest
steps:
# Check out the repository
- uses: actions/checkout@v2
# Run Spectral
- uses: stoplightio/spectral-action@latest
with:
file_glob: 'openapi.yaml'
spectral_ruleset: 'spectral:oas'