Update transitive dependencies #2235
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: Audit | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/audit-dev.yml | |
| - config/dirty-waters.json | |
| - .ndmrc | |
| - .nsprc | |
| - package-lock.json | |
| push: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: "0 3 * * *" | |
| workflow_dispatch: ~ | |
| permissions: read-all | |
| jobs: | |
| deprecations: | |
| name: Deprecations | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Verify action checksums | |
| uses: ./.github/actions/ghasum | |
| - name: Install Node.js | |
| uses: actions/[email protected] | |
| with: | |
| cache: npm | |
| node-version-file: .nvmrc | |
| - name: Install dependencies | |
| run: npm clean-install | |
| - name: Audit for deprecations | |
| run: npm run audit:deprecations | |
| dirty-waters: | |
| name: Dirty Waters | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| pull-requests: write # To comment on a Pull Request | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Verify action checksums | |
| uses: ./.github/actions/ghasum | |
| - name: Run Dirty-waters analysis | |
| uses: chains-project/[email protected] | |
| with: | |
| allow_pr_comment: true | |
| comment_on_commit: false | |
| config: ./config/dirty-waters.json | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| gradual_report: false | |
| ignore_cache: false | |
| package_manager: npm | |
| specified_smells: --check-source-code --check-source-code-sha | |
| x_to_fail: 0 | |
| vulnerabilities: | |
| name: Vulnerabilities | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Verify action checksums | |
| uses: ./.github/actions/ghasum | |
| - name: Install Node.js | |
| uses: actions/[email protected] | |
| with: | |
| cache: npm | |
| node-version-file: .nvmrc | |
| - name: Install dependencies | |
| run: npm clean-install | |
| - name: Audit for vulnerabilities | |
| run: npm run audit:vulnerabilities |