Skip to content

Merge pull request #2863 from puppetlabs/binford2k-patch-2 #434

Merge pull request #2863 from puppetlabs/binford2k-patch-2

Merge pull request #2863 from puppetlabs/binford2k-patch-2 #434

Workflow file for this run

---
name: Snyk Clojure Push Check
on: push
jobs:
snyk_clojure:
runs-on: ubuntu-latest
steps:
- name: checkout the current branch head
uses: actions/checkout@v2
with:
fetch-depth: 1
persist-credentials: false
- name: Run Clojure Snyk Scan
id: scan
uses: puppetlabs/security-snyk-clojure-action@v1
with:
snykToken: ${{ secrets.SNYK_PE_TOKEN }}
rproxyKey: ${{ secrets.SEC_PUBLIC_RPROXY_KEY }}
rproxyUser: ${{ secrets.SEC_PUBLIC_RPROXY_USER }}
snykOrg: 'puppet-enterprise'
snykProject: 'puppetserver'
snykPolicy: '.snyk'
- name: Check output
if: steps.scan.outputs.vulns != ''
run: echo "Vulnerabilities detected; ${{ steps.scan.outputs.vulns }}" && exit 1