Skip to content

Commit a4e50cb

Browse files
committed
Add dependency review job and fix URL typo in dependency submission workflow
1 parent 83f8491 commit a4e50cb

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/dependency-submission.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Dependency Submission
33
on:
44
push:
55
branches: ['main']
6+
pull_request:
7+
branches: ['main']
68

79
permissions:
810
contents: write
@@ -23,5 +25,16 @@ jobs:
2325
with:
2426
dependency-graph-include-projects: ':newrelic-security-(agent|api)'
2527
build-scan-publish: true
26-
build-scan-terms-of-use-url: "https://gralde.com/help/legal-terms-of-use"
28+
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
2729
build-scan-terms-of-use-agree: "yes"
30+
31+
dependency-review:
32+
needs: dependency-submission # Wait for graph submission to finish
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: 'Dependency Review'
36+
uses: actions/dependency-review-action@v4
37+
with:
38+
fail-on-severity: 'low' # Fails the action if CVE is found
39+
retry-on-snapshot-warnings: true
40+
retry-on-snapshot-warnings-timeout: 300

0 commit comments

Comments
 (0)