v3.3: Add security field at the Path Item Object level #4454
Workflow file for this run
This file contains hidden or 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-markdown | |
| # Author: @MikeRalphson | |
| # Issue: https://github.com/OAI/OpenAPI-Specification/issues/2130 | |
| # This workflow validates markdown files in the project root. | |
| # It also validates the work-in-progress specification file src/oas.md with slightly different rules. | |
| # run this on pull requests (which includes pushes to their head branch) | |
| on: | |
| - pull_request | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 # checkout repo content | |
| - uses: actions/setup-node@v6 # setup Node.js | |
| with: | |
| node-version: "24.x" | |
| - name: Lint work-in-progress spec | |
| run: npx --yes markdownlint-cli2 --config spec.markdownlint.yaml src/oas.md | |
| - name: Lint other files | |
| run: npx --yes markdownlint-cli2 *.md | |
| # workaround for https://github.com/UmbrellaDocs/action-linkspector/issues/62 | |
| - name: Install Chrome | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y google-chrome-stable | |
| echo "PUPPETEER_SKIP_DOWNLOAD=true" >> $GITHUB_ENV | |
| echo "PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome" >> $GITHUB_ENV | |
| - name: Check links in markdown files | |
| # uses: umbrelladocs/action-linkspector@v1 | |
| # with: | |
| # reporter: github-check | |
| # fail_level: any | |
| # filter_mode: file | |
| run: | | |
| npm ci | |
| npx linkspector --version | |
| npx linkspector check |