[Snyk] Security upgrade swagger-ui-react from 4.12.0 to 4.16.1 #7182
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: Docs | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: write | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "19" | |
# Use the same make target both locally and on CI to make it easier to debug failures. | |
- run: make docs | |
# If markdownlint fixes issues, files will be changed. If so, fail the build. | |
- run: git diff --exit-code | |
# Upload the site so reviewers see it. | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: docs | |
path: site | |
if-no-files-found: error | |
- uses: peaceiris/actions-gh-pages@v3 | |
if: github.repository == 'argoproj/argo-workflows' && github.ref == 'refs/heads/master' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: gh-pages | |
publish_dir: ./site |