Skip to content

Commit 38c6298

Browse files
authored
Merge pull request #9000 from cthorn42/maint/7.x/PA-4856_snyk_to_mend_cutover
(PA-4856) Update to Mend on the 7.x branch
2 parents d8ca59f + 0581c80 commit 38c6298

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

.github/workflows/mend.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Mend Monitor
3+
on:
4+
push:
5+
branches:
6+
- 7.x
7+
jobs:
8+
mend_monitor:
9+
if: ${{ github.repository_owner == 'puppetlabs' }}
10+
runs-on: ubuntu-latest
11+
name: Mend Monitor
12+
steps:
13+
- name: Checkout current PR
14+
uses: actions/checkout@v3
15+
- name: Setup Ruby
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
ruby-version: 2.7
19+
- name: Create lock
20+
run: bundle lock
21+
- uses: actions/setup-java@v3
22+
with:
23+
distribution: 'temurin'
24+
java-version: '17'
25+
- name: Download Mend
26+
run: curl -o wss-unified-agent.jar https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
27+
- name: Run Mend
28+
run: java -jar wss-unified-agent.jar
29+
env:
30+
WS_APIKEY: ${{ secrets.MEND_API_KEY }}
31+
WS_WSS_URL: https://saas-eu.whitesourcesoftware.com/agent
32+
WS_USERKEY: ${{ secrets.MEND_TOKEN }}
33+
WS_PRODUCTNAME: Puppet Agent
34+
WS_PROJECTNAME: ${{ github.event.repository.name }}

.github/workflows/snyk_monitor.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)