File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : mend
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * *'
6+ pull_request_target :
7+ types :
8+ - opened
9+ workflow_dispatch :
10+
11+ jobs :
12+ mend :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - name : ' setup node: 18 platform: ${{ runner.os }}'
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : 18
21+
22+ - name : npm install
23+ run : |
24+ npm install -g vsce --silent;
25+ npm install --silent;
26+
27+ - uses : " actions/setup-java@v4"
28+ with :
29+ distribution : " temurin"
30+ java-version : " 17"
31+
32+ - name : " download"
33+ run : curl -o wss-unified-agent.jar https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
34+
35+ - name : " scan"
36+ run : java -jar wss-unified-agent.jar
37+ env :
38+ WS_APIKEY : ${{ secrets.MEND_API_KEY }}
39+ WS_WSS_URL : https://saas-eu.whitesourcesoftware.com/agent
40+ WS_USERKEY : ${{ secrets.MEND_TOKEN }}
41+ WS_PRODUCTNAME : " DevX"
42+ WS_PROJECTNAME : ${{ github.event.repository.name }}
You can’t perform that action at this time.
0 commit comments