Skip to content

Static scanning action #2

Static scanning action

Static scanning action #2

Workflow file for this run

name: Run Spectral on Pull Requests
on:
workflow_dispatch:
pull_request:
branches:
- '1.0.0-wip'
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'