Skip to content

Commit 0eb44e0

Browse files
author
Marc-Andre Giroux
committed
Try redocly action
1 parent 388eb7a commit 0eb44e0

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/linter.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515
uses: actions/checkout@v2
1616
with:
1717
fetch-depth: 0
18-
- name: Lint YAML & JSON
18+
- name: YAML & JSON Lint
1919
uses: github/super-linter@v3
2020
env:
2121
VALIDATE_ALL_CODEBASE: false
2222
VALIDATE_YAML: true
2323
VALIDATE_JSON: true
2424
DEFAULT_BRANCH: main
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
- name: Spectral OpenAPI Schema Check
27-
uses: stoplightio/spectral-action@v0.5.5
26+
- name: OpenAPI Lint
27+
uses: xuorig/redocly-cli-lint-action@v0.0.1
2828
with:
29-
file_glob: descriptions/**/*.yaml
30-
repo_token: ${{ secrets.GITHUB_TOKEN }}
29+
entrypoints: 'descriptions/**/*.yaml'
30+
config: '.redocly.yml'

.redocly.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Very minimal redocly-cli configuration for last chance checks
2+
lint:
3+
extends:
4+
- minimal

.spectral.yml

-4
This file was deleted.

0 commit comments

Comments
 (0)