File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed
Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change 2828 - name : Build JAR
2929 run : mvn --errors package -DskipTests -pl databricks-sdk-java
3030
31- - name : Security scan
32- uses : databricks-eng/gh-action-scan@1c260de6986f77d8c505975ce434830a7afdb95f # main
31+ - name : Checkout scanner
32+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
33+ with :
34+ repository : databricks-eng/gh-action-scan
35+ path : .scan
36+ token : ${{ secrets.GITHUB_TOKEN }}
37+
38+ - name : Run security scan
39+ run : |
40+ chmod +x .scan/scan.sh
41+ .scan/scan.sh \
42+ --artifact-path databricks-sdk-java/target/ \
43+ --artifact-name databricks-sdk-java \
44+ --output-dir ./scan-results
45+
46+ - name : Upload scan results
47+ if : ${{ !cancelled() }}
48+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
3349 with :
34- artifact-path : databricks-sdk-java/target/
35- artifact-name : databricks-sdk-java
50+ name : security-scan-results
51+ path : ./scan-results/
52+ if-no-files-found : warn
You can’t perform that action at this time.
0 commit comments