Skip to content

Commit 967a318

Browse files
Fix spectral action
1 parent 17fe0e0 commit 967a318

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/spectral-lint.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@ jobs:
3838
run: curl -O "https://raw.githubusercontent.com/mongodb/openapi/refs/heads/dev/openapi/.raw/v2.yaml"
3939
working-directory: ${{ github.workspace }}
4040
- name: Spectral action
41-
uses: stoplightio/spectral-action@2ad0b9302e32a77c1caccf474a9b2191a8060d83
42-
with:
43-
# Path to the OpenAPI spec files and openapi/.raw/v2.yaml
44-
file_glob: openapi/.raw/v2.yaml
45-
spectral_ruleset: tools/spectral/.spectral.yaml #If updated, need to update in MMS too.
41+
run: npx spectral lint v2.yaml --ruleset=./tools/spectral/.spectral.yaml
4642
- name: IPA validation action
4743
run: npx spectral lint v2.yaml --ruleset=./tools/spectral/ipa/ipa-spectral.yaml
4844

0 commit comments

Comments
 (0)