Skip to content

Commit f921071

Browse files
ci(StepSecurity): Add Dependency Review Workflow (#779)
## Security Fixes ### Add Dependency Review Workflow The Dependency Review Workflow enforces dependency reviews on your pull requests. The action scans for vulnerable versions of dependencies introduced by package version changes in pull requests, and warns you about the associated security vulnerabilities. This gives you better visibility of what's changing in a pull request, and helps prevent vulnerabilities being added to your repository. - [Github Guide about Dependency Review](https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review) - [Github Guide for Configuring Dependency Review Action](https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-dependency-review#using-inline-configuration-to-set-up-the-dependency-review-action) Co-authored-by: StepSecurity Bot <[email protected]>
1 parent 9a68d89 commit f921071

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
3+
# Dependency Review Action
4+
#
5+
# This Action will scan dependency manifest files that change as part of a
6+
# Pull Request, surfacing known-vulnerable versions of the packages declared
7+
# or updated in the PR.
8+
# Once installed, if the workflow run is marked as required,
9+
# PRs introducing known-vulnerable packages will be blocked from merging.
10+
#
11+
# Source repository: https://github.com/actions/dependency-review-action
12+
name: Dependency Review
13+
14+
on:
15+
pull_request:
16+
17+
permissions:
18+
contents: read
19+
20+
jobs:
21+
dependency-review:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout Repository
25+
# yamllint disable-line rule:line-length
26+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+
- name: Dependency Review
28+
# yamllint disable-line rule:line-length
29+
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0

0 commit comments

Comments
 (0)