File tree 3 files changed +49
-3
lines changed
3 files changed +49
-3
lines changed Original file line number Diff line number Diff line change 56
56
java-version : 11
57
57
if : matrix.language == 'java'
58
58
59
+ # Submit dependency graph Step 1
60
+ - name : Generate and save dependency graph
61
+ uses : gradle/actions/dependency-submission@v3
62
+ with :
63
+ dependency-graph : generate-and-upload
64
+
59
65
# https://docs.gradle.org/current/userguide/performance.html
60
66
- name : Build
61
67
run : ./gradlew clean assemble compileTestJava --no-build-cache --parallel --daemon
Original file line number Diff line number Diff line change
1
+ #
2
+ # Licensed to the Apache Software Foundation (ASF) under one or more
3
+ # contributor license agreements. See the NOTICE file distributed with
4
+ # this work for additional information regarding copyright ownership.
5
+ # The ASF licenses this file to You under the Apache License, Version 2.0
6
+ # (the "License"); you may not use this file except in compliance with
7
+ # the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+
18
+ # https://github.com/gradle/actions/blob/main/docs/dependency-submission.md#usage-with-pull-requests-from-public-forked-repositories
19
+ name : Submit dependency graph
20
+
21
+ on :
22
+ workflow_run :
23
+ workflows : [ 'CodeQL' ]
24
+ types : [ completed ]
25
+
26
+ permissions :
27
+ contents : write
28
+
29
+ jobs :
30
+ submit-dependency-graph :
31
+ runs-on : ubuntu-latest
32
+ steps :
33
+ # Submit dependency graph Step 2
34
+ - name : Download and submit dependency graph
35
+ uses : gradle/actions/dependency-submission@v3
36
+ with :
37
+ dependency-graph : download-and-submit # Download saved dependency-graph and submit
Original file line number Diff line number Diff line change @@ -19,21 +19,24 @@ name: 'License Check'
19
19
on : [ pull_request ]
20
20
21
21
permissions :
22
- contents : write
22
+ contents : read
23
23
24
24
jobs :
25
25
dependency-review :
26
26
runs-on : ubuntu-latest
27
27
steps :
28
28
- name : ' Checkout Repository'
29
29
uses : actions/checkout@v4
30
+
30
31
- name : ' Check license header'
31
32
uses : apache/skywalking-eyes@main
32
- - name : ' Generate and submit dependency graph'
33
- uses : gradle/actions/dependency-submission@v3
33
+
34
34
- name : ' Dependency Review'
35
35
uses : actions/dependency-review-action@v4
36
36
with :
37
+ # Post 'Submit dependency graph'
38
+ retry-on-snapshot-warnings : true
39
+ retry-on-snapshot-warnings-timeout : 600
37
40
vulnerability-check : false
38
41
license-check : true
39
42
# Incompatible licenses addressed here: https://www.apache.org/legal/resolved.html
You can’t perform that action at this time.
0 commit comments