blob: bbae95b49c35ea63a0e2002bdcac346d34e1aa81 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
---
name: Lint OpenAPI Descriptions
on:
- push
jobs:
build:
name: Lint OpenAPI Descriptions
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: YAML & JSON Lint
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_YAML: true
VALIDATE_JSON: true
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: OpenAPI Lint
uses: mattpage/redocly-cli-lint-action@v0.0.1
with:
entrypoints: 'descriptions/**/*.yaml'
config: '.redocly.yml'
|