Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Dependency review

on:
pull_request:
branches: ["main"]
workflow_dispatch:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove unsupported manual trigger for dependency review

actions/dependency-review-action@v4 derives refs automatically only for pull_request/pull_request_target; on workflow_dispatch it requires explicit base-ref and head-ref inputs. In this workflow, manual runs provide neither, so a manually dispatched job will fail before performing any dependency diff, creating a consistently broken trigger path in .github/workflows/dependency-review.yml.

Useful? React with 👍 / 👎.


permissions:
contents: read
pull-requests: write

jobs:
dependency-review:
name: Dependency review
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Review dependency changes
uses: actions/dependency-review-action@v4
with:
comment-summary-in-pr: always
fail-on-severity: moderate
retry-on-snapshot-warnings: true
Loading