Skip to content

Add dependency updates #663

Add dependency updates

Add dependency updates #663

# Dependency vulnerability scanning
name: Dependency Review
on:
pull_request:
branches: [main]
permissions:
contents: read
pull-requests: write
jobs:
dependency-review:
name: Review Dependencies
runs-on: ubuntu-latest
if: ${{ !startsWith(github.head_ref || github.ref_name, 'hotfix/') }}
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Dependency Review
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
with:
fail-on-severity: critical
comment-summary-in-pr: always
hotfix-bypass:
name: Dependency Review Hotfix Bypass
runs-on: ubuntu-latest
if: ${{ startsWith(github.head_ref || github.ref_name, 'hotfix/') }}
permissions: {}
steps:
- name: Skip dependency review for hotfix branch
run: echo "hotfix/* branch detected; skipping dependency review but allowing deployments."