Skip to content

Commit bf335ea

Browse files
authored
Create lint_openapi_spec.yml
1 parent 935679a commit bf335ea

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Lint OpenAPI spec with vacuum"
2+
3+
on:
4+
push:
5+
paths:
6+
- 'QuantConnect-Platform-2.0.0.yaml'
7+
pull_request:
8+
paths:
9+
- 'QuantConnect-Platform-2.0.0.yaml'
10+
11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
15+
jobs:
16+
vacuum-lint:
17+
name: Run OpenAPI linting with vacuum
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v3
22+
23+
- name: Run OpenAPI lint with vacuum
24+
uses: pb33f/vacuum-action@v2
25+
with:
26+
openapi_path: "QuantConnect-Platform-2.0.0.yaml"
27+
github_token: ${{ secrets.GH_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)