Skip to content

Commit

Permalink
Add spectral to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
heiglandreas committed Jun 26, 2024
1 parent 114c232 commit bf11da5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/spectral.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Main
on:
push:
branches: [ main ]

env:
SPECTRAL_DSN: ${{ secrets.SPECTRAL_DSN }}

jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install and run Spectral CI
uses: checkpointsw/spectral-github-action@v3
with:
spectral-dsn: ${{ env.SPECTRAL_DSN }}
spectral-args: scan --ok --include-tags base,audit3

0 comments on commit bf11da5

Please sign in to comment.