File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 6
6
- " *"
7
7
branches :
8
8
- main
9
+ - vupadhya/mendallie
9
10
10
11
env :
11
12
MAIN_PYTHON_VERSION : ' 3.12'
48
49
library-name : ${{ env.PACKAGE_NAME }}
49
50
operating-system : ${{ matrix.os }}
50
51
python-version : ${{ matrix.python-version }}
52
+
53
+ - name : Set up JDK
54
+ uses : actions/setup-java@v4
55
+ with :
56
+ java-version : ' 11'
57
+ distribution : ' adopt'
58
+
59
+ - name : Mend Unified Agent Scan
60
+ env :
61
+ WS_PRODUCTNAME : ' AnsysAllie'
62
+ WS_PROJECTNAME : ${{github.event.repository.name}}
63
+ WS_GENERATEPROJECTDETAILSJSON : true
64
+ WS_GENERATESCANREPORT : true
65
+ WS_FILESYSTEMSCAN : true
66
+ WS_CHECKPOLICIES : true
67
+ WS_FORCECHECKALLDEPENDENCIES : true
68
+ WS_SCANREPORTFILENAMEFORMAT : static
69
+ WS_FORCEUPDATE_FAILBUILDONPOLICYVIOLATION : true
70
+ WS_PYTHON_REQUIREMENTSFILEINCLUDES : " pyproject.toml"
71
+ run : |
72
+ echo Downloading Mend Unified Agent
73
+ curl -LJO https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
74
+ if [[ "$(curl -sL https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar.sha256)" != "$(sha256sum wss-unified-agent.jar)" ]] ; then
75
+ echo "Integrity Check Failed"
76
+ else
77
+ echo "Integrity Check Passed"
78
+ echo Starting Unified Agent Scan
79
+ java -jar wss-unified-agent.jar -loglevel debug
80
+ fi
51
81
52
82
docs-style :
53
83
name : Documentation Style Check
You can’t perform that action at this time.
0 commit comments