fix(hub): prune orphaned hub sources on collection URL rename #130
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: Dependency Review | |
| # Single repo-wide gate for newly-introduced vulnerabilities. | |
| # dependency-review-action diffs the PR's dependency graph (base -> head), so it | |
| # only flags dependencies CHANGED by this PR — per-package scoping comes for free. | |
| # Pre-existing vulnerabilities are reported separately (non-blocking) by the | |
| # npm-audit-pr-comment action in each package's CI workflow. | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - '**/package.json' | |
| - '**/package-lock.json' | |
| jobs: | |
| dependency-review: | |
| name: Dependency Review (fail on new vulnerabilities) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@v2 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Dependency Review | |
| uses: actions/dependency-review-action@v4 | |
| with: | |
| fail-on-severity: moderate | |
| vulnerability-check: true | |
| comment-summary-in-pr: on-failure |