File tree 2 files changed +35
-31
lines changed
2 files changed +35
-31
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Mend Monitor
3
+ on :
4
+ push :
5
+ branches :
6
+ - 7.x
7
+ - main
8
+ jobs :
9
+ mend_monitor :
10
+ if : ${{ github.repository_owner == 'puppetlabs' }}
11
+ runs-on : ubuntu-latest
12
+ name : Mend Monitor
13
+ steps :
14
+ - name : Checkout current PR
15
+ uses : actions/checkout@v3
16
+ - name : Setup Ruby
17
+ uses : ruby/setup-ruby@v1
18
+ with :
19
+ ruby-version : 2.7
20
+ - name : Create lock
21
+ run : bundle lock
22
+ - uses : actions/setup-java@v3
23
+ with :
24
+ distribution : ' temurin'
25
+ java-version : ' 17'
26
+ - name : Download Mend
27
+ run : curl -o wss-unified-agent.jar https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
28
+ - name : Run Mend
29
+ run : java -jar wss-unified-agent.jar
30
+ env :
31
+ WS_APIKEY : ${{ secrets.MEND_API_KEY }}
32
+ WS_WSS_URL : https://saas-eu.whitesourcesoftware.com/agent
33
+ WS_USERKEY : ${{ secrets.MEND_TOKEN }}
34
+ WS_PRODUCTNAME : Puppet Agent
35
+ WS_PROJECTNAME : ${{ github.event.repository.name }}-${{ github.ref_name }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments