File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33- package-ecosystem : bundler
44 directory : " /"
55 schedule :
6- interval : daily
7- time : " 13:00"
6+ interval : weekly
87 open-pull-requests-limit : 10
Original file line number Diff line number Diff line change 1+ name : Security
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ scan :
10+ name : Mend Scanning
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : checkout repo content
14+ uses : actions/checkout@v3
15+ with :
16+ fetch-depth : 1
17+ - name : setup ruby
18+ uses : ruby/setup-ruby@v1
19+ with :
20+ ruby-version : 2.7
21+ # setup a package lock if one doesn't exist, otherwise do nothing
22+ - name : check lock
23+ run : ' [ -f "Gemfile.lock" ] && echo "package lock file exists, skipping" || bundle lock'
24+ # install java
25+ - uses : actions/setup-java@v3
26+ with :
27+ distribution : ' temurin' # See 'Supported distributions' for available options
28+ java-version : ' 17'
29+ # download mend
30+ - name : download_mend
31+ run : curl -o wss-unified-agent.jar https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
32+ - name : run mend
33+ run : java -jar wss-unified-agent.jar
34+ env :
35+ WS_APIKEY : ${{ secrets.MEND_API_KEY }}
36+ WS_WSS_URL : https://saas-eu.whitesourcesoftware.com/agent
37+ WS_USERKEY : ${{ secrets.MEND_TOKEN }}
38+ WS_PRODUCTNAME : RE
39+ WS_PROJECTNAME : ${{ github.event.repository.name }}
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments