Skip to content

Commit dc10ab5

Browse files
authored
Merge pull request #5 from mitgd-learning/action-5
Create dependency-review.yml
2 parents a43a65f + ff8d432 commit dc10ab5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This Action will scan dependency manifest files that change as part of a Pull Request,
2+
# surfacing known-vulnerable versions of the packages declared or updated in the PR.
3+
# Once installed, if the workflow run is marked as required, PRs introducing
4+
# known-vulnerable packages will be blocked from merging.
5+
#
6+
# Source repository: https://github.com/actions/dependency-review-action
7+
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
8+
name: 'Dependency Review'
9+
on: [pull_request]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
dependency-review:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: 'Checkout Repository'
19+
uses: actions/checkout@v3
20+
- name: 'Dependency Review'
21+
uses: actions/dependency-review-action@v2

0 commit comments

Comments
 (0)