File tree 2 files changed +39
-29
lines changed
2 files changed +39
-29
lines changed Original file line number Diff line number Diff line change
1
+ # Workflow: Dependency Graph Submission and Vulnerability Reporting
2
+ #
3
+ # Trigger: This workflow runs on every merge to the main branch.
4
+ #
5
+ # Purpose: It generates and submits a dependency graph to the GitHub Dependency Submission API. The graph is used to
6
+ # trigger Dependabot Alerts for vulnerable dependencies, and to populate the Dependency Graph insights view in GitHub.
7
+ #
8
+ # Excludes:
9
+ # - Test-only dependencies
10
+ # - Modules named `core-test` and `examples`
11
+
12
+ name : Dependency Submission
13
+
14
+ on :
15
+ push :
16
+ branches : [ 'main' ]
17
+
18
+ permissions :
19
+ contents : write
20
+
21
+ jobs :
22
+ dependency-submission :
23
+ runs-on : ubuntu-latest
24
+ steps :
25
+ - name : Checkout sources
26
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4
27
+ - name : Setup Java
28
+ uses : actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # pin@v4
29
+ with :
30
+ distribution : ' temurin'
31
+ java-version : ' 11'
32
+ - name : Generate and submit dependency graph
33
+ uses : gradle/actions/dependency-submission@d156388eb19639ec20ade50009f3d199ce1e2808 # pin@v4
34
+ with :
35
+ dependency-graph-exclude-configurations : ' .*[Tt]est(Compile|Runtime)Classpath'
36
+ dependency-graph-exclude-projects : ' :core-test, :examples'
37
+ build-scan-publish : true
38
+ build-scan-terms-of-use-url : " https://gralde.com/help/legal-terms-of-use"
39
+ build-scan-terms-of-use-agree : " yes"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments