Skip to content

chore(deps): bump the dependencies group across 1 directory with 3 updates #21

chore(deps): bump the dependencies group across 1 directory with 3 updates

chore(deps): bump the dependencies group across 1 directory with 3 updates #21

name: Dependency Review
# Runs on every Pull Request and scans newly added/updated npm packages
# against the GitHub Advisory Database (known CVEs).
# Fails the PR if a vulnerable or malicious package is introduced.
on:
pull_request:
branches: [ "main" ]
permissions:
contents: read
pull-requests: write # needed to post a summary comment on the PR
jobs:
dependency-review:
name: Scan dependencies for vulnerabilities
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Dependency Review
uses: actions/dependency-review-action@v5
with:
# Fail the PR on vulnerabilities of this severity or higher
# (moderate, high, critical). Low-severity advisories only warn.
fail-on-severity: moderate
# Post a comment on the PR with a summary of findings
comment-summary-in-pr: always
# Only permit these permissive licenses (allowlist instead of the
# deprecated deny-licenses blocklist). This keeps copyleft licenses
# (GPL, LGPL, AGPL, MPL, ...) out, which are incompatible with this
# commercial project. The action only checks dependencies that a PR
# newly adds or changes, so if a legitimate new dependency uses a
# license not listed here, add it below or whitelist that single
# package via allow-dependencies-licenses.
allow-licenses: >-
MIT, ISC, Apache-2.0, BSD-2-Clause, BSD-3-Clause, 0BSD,
Unlicense, CC0-1.0, CC-BY-4.0, BlueOak-1.0.0, Python-2.0,
MIT-0, Zlib