Skip to content

Commit e4c8ad7

Browse files
authored
Update update-dependancy-graph.yml
1 parent faa96c3 commit e4c8ad7

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed
+14-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
name: Update Dependancy Graph
22

3-
on: [push]
3+
on:
4+
push:
5+
branches: [ main ]
46

57
jobs:
68
dependency-graph:
9+
710
runs-on: ubuntu-latest
11+
812
steps:
9-
- name: Submit Dependency Snapshot
10-
uses: advanced-security/maven-dependency-submission-action@v4
13+
- uses: actions/checkout@v4
14+
- name: Set up JDK 17
15+
uses: actions/setup-java@v4
16+
with:
17+
java-version: '17'
18+
distribution: 'temurin'
19+
cache: maven
20+
- name: Submit Dependency Snapshot
21+
uses: advanced-security/maven-dependency-submission-action@v4

0 commit comments

Comments
 (0)