Something went wrong. Try again.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940name: Scan dependencieson: pull_request: push: branches: [main] workflow_dispatch:permissions: contents: readconcurrency: group: dependency-scan-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: truejobs: scan: name: osv-scan runs-on: ubuntu-latest timeout-minutes: 20 permissions: contents: read steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - uses: cachix/install-nix-action@3dc140bfc76c49fbd4dd958429132e3746bcb086 # v31.11.5 - name: Scan dependencies run: >- nix shell github:NixOS/nixpkgs/5adc50831c259f87faeb09ddf930d43597197473#osv-scanner --command osv-scanner scan source --recursive . result: name: dependency-security needs: scan if: ${{ !cancelled() }} runs-on: ubuntu-latest timeout-minutes: 2 permissions: {} steps: - name: Require a completed clean scan env: SCAN_RESULT: ${{ needs.scan.result }} run: test "$SCAN_RESULT" = success