Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/mend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: mend_scan
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content to github runner.
with:
fetch-depth: 1
- name: setup go
uses: actions/setup-go@v3
with:
go-version: '>=1.17.0'
# if there's no go.sum, generate it
- name: check go.sum
run: '[ -f "go.sum" ] && echo "go sum exists, skipping" || go mod tidy'
# install java
- uses: actions/setup-java@v3
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
# download mend
- name: download_mend
run: curl -o wss-unified-agent.jar https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
- name: run mend
run: java -jar wss-unified-agent.jar
env:
WS_APIKEY: ${{ secrets.MEND_API_KEY }}
WS_WSS_URL: https://saas-eu.whitesourcesoftware.com/agent
WS_USERKEY: ${{ secrets.MEND_TOKEN }}
WS_PRODUCTNAME: Puppet General
WS_PROJECTNAME: ${{ github.event.repository.name }}
WS_FILESYSTEMSCAN: true
WS_CHECKPOLICIES: true
WS_FORCEUPDATE: true
18 changes: 0 additions & 18 deletions .github/workflows/snyk-scan.yaml

This file was deleted.