From 56ba5a65bc65dd5daa920c2db6d3c5eae11e650b Mon Sep 17 00:00:00 2001 From: Eraxyso <130852025+Eraxyso@users.noreply.github.com> Date: Tue, 14 Jan 2025 05:38:33 +0000 Subject: [PATCH] fix: configure spectral action --- .github/workflows/main.yml | 3 +-- .spectral.yaml | 1 + .spectral.yml | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 .spectral.yaml delete mode 100644 .spectral.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c7ae850b..dc05c8cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -121,5 +121,4 @@ jobs: uses: stoplightio/spectral-action@v0.8.7 with: file_glob: docs/swagger/*.yaml - repo_token: ${{ secrets.GITHUB_TOKEN }} - spectral_ruleset: .spectral.yaml \ No newline at end of file + repo_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.spectral.yaml b/.spectral.yaml new file mode 100644 index 00000000..1d37769b --- /dev/null +++ b/.spectral.yaml @@ -0,0 +1 @@ +extends: ["spectral:oas"] \ No newline at end of file diff --git a/.spectral.yml b/.spectral.yml deleted file mode 100644 index a3a785fc..00000000 --- a/.spectral.yml +++ /dev/null @@ -1 +0,0 @@ -extends: ["spectral:{rulesetTagHere}"] \ No newline at end of file