Skip to content

Black Duck Policy Check #946

Black Duck Policy Check

Black Duck Policy Check #946

Workflow file for this run

---
name: Black Duck Policy Check
on:
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * *' # midnight everyday
push:
jobs:
security:
if: github.repository == 'nutanix-cloud-native/prism-go-client'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '^1.17'
- name: Build Project
run: make build
- name: Run Synopsys Detect
uses: synopsys-sig/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
detect-version: 8.10.0
blackduck-url: ${{ secrets.BLACKDUCK_URL }}
blackduck-api-token: ${{ secrets.BLACKDUCK_API_TOKEN }}