Skip to content

Commit

Permalink
change ruleset name
Browse files Browse the repository at this point in the history
  • Loading branch information
Long Le authored and Long Le committed Sep 11, 2024
1 parent da0d2d4 commit 732eddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tyk-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: stoplightio/spectral-action@latest
with:
file_glob: ${{ env.environment }}/apis/api-*.json
spectral_ruleset: dev/tykapi-ruleset.yaml
spectral_ruleset: ${{ env.environment }}/tykapi-ruleset.yaml
continue-on-error: false

# # Install JQ library used to introspect the API and Policy definitions
Expand Down
2 changes: 1 addition & 1 deletion dev/tykapi-ruleset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rules:
functionOptions:
match: '^(?!\s*$).+'

ensure-authentication-methods:
abc-123:
description: "Ensure that at least one of 'enable_jwt' or 'use_mutual_tls_auth' is true."
given: "$.api_definition"
then:
Expand Down

0 comments on commit 732eddc

Please sign in to comment.