-
-
Notifications
You must be signed in to change notification settings - Fork 504
33 lines (27 loc) · 841 Bytes
/
mvn-dep-tree.yml
File metadata and controls
33 lines (27 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This job sends the maven dependency tree of the project to Github
# for further security analysis.
name: "MavenDepTreeSubmission"
on:
push:
branches: [ main ]
schedule:
- cron: '44 22 * * 5'
jobs:
update-maven-dep-tree:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
show-progress: 'false'
- name: Setup Java JDK
uses: actions/setup-java@v4.2.1
with:
java-version: 11
# Java distribution. See the list of supported distributions in README file
distribution: temurin
# The package type (jdk, jre, jdk+fx, jre+fx)
java-package: jdk
cache: maven
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@v4