Skip to content

Static scanning action #6

Static scanning action

Static scanning action #6

Workflow file for this run

name: Run Spectral on Pull Requests
on:
workflow_dispatch:
pull_request:
branches:
- '1.0.0-wip'
jobs:
spectral_scan:
name: Run Spectral
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Spectral scan
uses: stoplightio/spectral-action@latest
with:
file_glob: 'openapi.yaml'