Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/api-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run Spectral lint

on:
push:
paths:
- ./reference/*.yaml
pull_request:
paths-ignore:
- ./reference/*.yaml

jobs:
build:
name: Run Spectral
runs-on: ubuntu-latest
steps:
# Check out the repository
- uses: actions/checkout@v2

# Run Spectral
- uses: stoplightio/[email protected]
with:
file_glob: 'reference/*.yaml'
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
- ./**/README.md
- ./frontend/**
- ./**/.gitignore
- ./reference/**
pull_request:
paths-ignore:
- ./**/README.md
- ./frontend/**
- ./**/.gitignore
- ./reference/**

jobs:
backend-unit-test:
Expand Down