Skip to content

Commit bf11da5

Browse files
committedJun 26, 2024··
Add spectral to CI
1 parent 114c232 commit bf11da5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
 

Diff for: ‎.github/workflows/spectral.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Main
2+
on:
3+
push:
4+
branches: [ main ]
5+
6+
env:
7+
SPECTRAL_DSN: ${{ secrets.SPECTRAL_DSN }}
8+
9+
jobs:
10+
scan:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Install and run Spectral CI
15+
uses: checkpointsw/spectral-github-action@v3
16+
with:
17+
spectral-dsn: ${{ env.SPECTRAL_DSN }}
18+
spectral-args: scan --ok --include-tags base,audit3

0 commit comments

Comments
 (0)
Please sign in to comment.