Skip to content

Commit c7ad166

Browse files
authored
Fix Spectral Github action (#3)
1 parent be7073a commit c7ad166

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/scan.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
name: Main
22
on:
33
push:
4-
branches: [ main ]
4+
branches: [main]
55
pull_request:
66

77
env:
88
SPECTRAL_DSN: ${{ secrets.SPECTRAL_DSN }}
9-
9+
1010
jobs:
1111
scan:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
15-
- name: Install and run Spectral CI
16-
uses: spectralops/spectral-github-action@v2
17-
with:
18-
spectral-dsn: ${{ env.SPECTRAL_DSN }}
19-
spectral-args: scan --ok --include-tags base,iac
14+
- uses: actions/checkout@v2
15+
- name: Install and run Spectral CI
16+
uses: spectralops/spectral-github-action@v3
17+
with:
18+
spectral-dsn: ${{ env.SPECTRAL_DSN }}
19+
spectral-args: scan --ok --include-tags base,iac

0 commit comments

Comments
 (0)