summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMarc-Andre Giroux <xuorig@github.com>2021-01-25 16:39:37 -0500
committerMarc-Andre Giroux <xuorig@github.com>2021-01-25 16:39:37 -0500
commit0eb44e005d95b012ed487a02acf121818c171e21 (patch)
tree488cd8f4b22669489c4dfda400f280c4221ed44f /.github
parent388eb7a623f4fb2b1710f5871c6fcee5086a542c (diff)
downloadrest-api-description-0eb44e005d95b012ed487a02acf121818c171e21.tar.gz
rest-api-description-0eb44e005d95b012ed487a02acf121818c171e21.zip
Try redocly action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linter.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml
index ac5bac651..6de1010bb 100644
--- a/.github/workflows/linter.yml
+++ b/.github/workflows/linter.yml
@@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- - name: Lint YAML & JSON
+ - name: YAML & JSON Lint
uses: github/super-linter@v3
env:
VALIDATE_ALL_CODEBASE: false
@@ -23,8 +23,8 @@ jobs:
VALIDATE_JSON: true
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- - name: Spectral OpenAPI Schema Check
- uses: stoplightio/spectral-action@v0.5.5
+ - name: OpenAPI Lint
+ uses: xuorig/redocly-cli-lint-action@v0.0.1
with:
- file_glob: descriptions/**/*.yaml
- repo_token: ${{ secrets.GITHUB_TOKEN }}
+ entrypoints: 'descriptions/**/*.yaml'
+ config: '.redocly.yml'