chore(deps): bump mongodb-log-writer from 2.5.12 to 2.5.14 #664
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: Snyk Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - "v*.*.*" | |
| pull_request: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-snyk: | |
| name: Run Snyk | |
| runs-on: ubuntu-latest | |
| if: github.event_name != 'pull_request' || (github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == github.repository) | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node environment | |
| uses: ./.github/workflows/actions/setup-node-environment | |
| - name: Run Snyk Test | |
| shell: bash | |
| env: | |
| SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
| run: | | |
| pnpm run snyk-test | |
| - name: Upload Snyk Report | |
| if: always() | |
| uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 | |
| with: | |
| name: Snyk Report - ${{ github.run_id }} | |
| path: | | |
| .sbom/snyk-test-result.html | |
| .sbom/snyk-test-result.json | |
| # The webpack build writes .sbom/dependencies.json (via WebpackDependenciesPlugin), | |
| # which the vulnerability report needs to know which packages are actually bundled. | |
| - name: Build extension bundles | |
| shell: bash | |
| run: | | |
| pnpm run compile:constants | |
| pnpm run compile:extension-bundles | |
| - name: Generate Vulnerability Report (Fail on >= High) | |
| continue-on-error: ${{ github.event_name == 'pull_request' }} | |
| shell: bash | |
| run: | | |
| pnpm run generate-vulnerability-report > /dev/null |