Skip to content

Commit cc3730a

Browse files
Create openapi_validate.yaml
1 parent 69fc656 commit cc3730a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Validate API docs
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
10+
jobs:
11+
build:
12+
name: Run Spectral
13+
runs-on: ubuntu-latest
14+
steps:
15+
# Check out the repository
16+
- uses: actions/checkout@v2
17+
18+
# Run Spectral
19+
- uses: stoplightio/spectral-action@latest
20+
with:
21+
file_glob: 'api.yml'

0 commit comments

Comments
 (0)