Skip to content

Refactor using merge #6

Refactor using merge

Refactor using merge #6

Workflow file for this run

name: 'OWASP Spectral lint'
on:
workflow_dispatch:
pull_request:
branches:
- 1.0.0*
permissions:
contents: read
jobs:
build:
name: "Bundle and Build"
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint
uses: actions/setup-node@v4
with:
node-version: 20
- run: >-
npx --yes @redocly/cli bundle ./docs/_data/openapi-split.yaml -o ./docs/openapi.yaml &&
npx --yes @stoplight/spectral-cli lint docs/openapi.yaml --ruleset .spectral.yaml