fix(query): implicit flow in oauth2 queries duplicated #791
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: validate-openapi-samples | |
on: | |
pull_request: | |
paths: | |
- "assets/queries/openAPI/**/test/*.yaml" | |
- "assets/queries/openAPI/**/test/*.json" | |
jobs: | |
lint-yaml-samples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: yaml-lint | |
uses: ibiqlik/[email protected] | |
with: | |
file_or_dir: assets/queries/openAPI/ | |
config_file: .github/scripts/samples-linters/yamllint.yml | |
strict: true | |
lint-json-samples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Installing jsonlint | |
run: | | |
npm install -g jsonlint | |
npm show jsonlint | |
which jsonlint | |
- name: Running JSON lint | |
run: | | |
python3 -u ".github/scripts/samples-linters/validate-syntax.py" \ | |
"assets/queries/openapi/**/test/*.json" \ | |
--linter jsonlint \ | |
--skip ".github/scripts/samples-linters/ignore-list/openapi" -vv | |