Add Dependency Review workflow - #18
Conversation
Runs actions/dependency-review-action on pull requests targeting main to flag vulnerable or policy-violating dependency changes before merge. The lockfile is regenerated so the new workflow's pins (checkout, and dependency-review-action narrowed to v4.9.0) are recorded and verifiable.
There was a problem hiding this comment.
✅ Ready to approve
The new workflow and lockfile updates are consistent, correctly pinned, and align with the stated PR intent without introducing risky behavior.
Note: this review does not count toward required approvals for merging.
Pull request overview
Adds a new GitHub Actions “Dependency Review” workflow to run actions/dependency-review-action on pull requests targeting main, and updates the gh actions-lock lockfile to record the new workflow’s pinned action refs/commits.
Changes:
- Introduces
.github/workflows/dependency-review.ymlto run dependency review on PRs intomain. - Pins
actions/checkoutandactions/dependency-review-actionto exact versions in the new workflow. - Regenerates
.github/workflows/actions.lockto include the new workflow and dependency pin.
File summaries
| File | Description |
|---|---|
| .github/workflows/dependency-review.yml | Adds a PR-triggered Dependency Review workflow with pinned action versions and minimal read permissions. |
| .github/workflows/actions.lock | Records the new workflow’s pinned actions and commit SHAs in the lockfile. |
Review details
- Files reviewed: 1/2 changed files
- Comments generated: 0
- Review effort level: Low
Note
Your feedback helps us improve the quality of this feature.
Please use 👍 or 👎 to tell us whether this assessment is correct.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
What
Adds a
Dependency ReviewGitHub Actions workflow that runsactions/dependency-review-actionon pull requests targetingmain, and regenerates.github/workflows/actions.lockto record the new workflow's pins.Why
Dependency Review surfaces vulnerable or policy-violating dependency changes in the PR diff before they merge — a natural fit for a repo whose whole purpose is supply-chain pinning hygiene.
Details
.github/workflows/dependency-review.yml(on: pull_request → main, permissions: contents: read)actions/[email protected],actions/[email protected]gh actions-locknarrowed@v4→@v4.9.0and added both pins to the lockfile.Verification
gh actions-lock --no-fix --json | jq .valid→true(no drift)