Skip to content

Commit 3fec8d0

Browse files
Dependabot Configuration (#73)
* remove snyk scanning workflow * add dependency-submission workflow
1 parent 5e59614 commit 3fec8d0

File tree

2 files changed

+37
-29
lines changed

2 files changed

+37
-29
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+
11+
name: Dependency Submission
12+
13+
on:
14+
push:
15+
branches: [ 'main' ]
16+
17+
permissions:
18+
contents: write
19+
20+
jobs:
21+
dependency-submission:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout sources
25+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4
26+
- name: Setup Java
27+
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # pin@v4
28+
with:
29+
distribution: 'temurin'
30+
java-version: '11'
31+
- name: Generate and submit dependency graph
32+
uses: gradle/actions/dependency-submission@d156388eb19639ec20ade50009f3d199ce1e2808 # pin@v4
33+
with:
34+
dependency-graph-exclude-configurations: '.*[Tt]est(Compile|Runtime)Classpath'
35+
build-scan-publish: true
36+
build-scan-terms-of-use-url: "https://gralde.com/help/legal-terms-of-use"
37+
build-scan-terms-of-use-agree: "yes"

.github/workflows/snyk_scan.yml

-29
This file was deleted.

0 commit comments

Comments
 (0)