Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 960 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 960 Bytes

spectral-comment-action status

Spectral comment action

Comments pull requests with Spectral linter linter outputs using Github action

spectral-comment-action

Check PR showcase.

Usage

Add or edit an existing workflow:

name: "test-action"
on:
  # only works on pull requests
  pull_request:

jobs:
  test:
    name: Lint OpenAPI
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: l-lin/spectral-comment-action@0.1.0
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        file-glob: sample/*.yml

License

MIT