Merge pull request #442 from BK01/master #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
name: OpenAPI Specs lint | |
jobs: | |
build: | |
name: Spectral checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: stoplightio/spectral-action@latest | |
with: | |
file_glob: '*.json' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_CI_TOKEN }} |