Skip to content

l-lin/spectral-comment-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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/[email protected]
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        file-glob: sample/*.yml

License

MIT

About

Comments pull requests with Spectral linter outputs

Resources

License

Stars

Watchers

Forks

Packages

No packages published