Skip to content

fix(ci): restore green main (workflow callers, type errors, coverage, hardening) #18

fix(ci): restore green main (workflow callers, type errors, coverage, hardening)

fix(ci): restore green main (workflow callers, type errors, coverage, hardening) #18

# Dependency Review - Analyzes dependency changes in PRs
# Checks for vulnerabilities and license compliance
#
# Features:
# - Vulnerability detection in dependency changes
# - License compliance checking
# - Blocks PRs with high severity vulnerabilities
name: Dependency Review
on:
pull_request:
branches: [main, master, develop]
paths:
- 'pyproject.toml'
- 'uv.lock'
- 'requirements*.txt'
permissions:
contents: read
pull-requests: write
jobs:
dependency-review:
name: Dependency Review
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Dependency Review
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
with:
fail-on-severity: high
# Deny copyleft and restrictive licenses (deny-list approach)
deny-licenses: AGPL-3.0, AGPL-3.0-only, AGPL-3.0-or-later, GPL-2.0-only, LGPL-2.0-only
comment-summary-in-pr: on-failure