Black Duck Intelligent Policy Check #456
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Black Duck Intelligent Policy Check | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
security: | |
if: github.repository == 'nutanix-cloud-native/cloud-provider-nutanix' | |
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: go build | |
- name: Run Synopsys Detect | |
uses: synopsys-sig/detect-action@v0.3.4 | |
with: | |
scan-mode: INTELLIGENT | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
detect-version: 8.10.0 | |
blackduck-url: ${{ secrets.BLACKDUCK_URL }} | |
blackduck-api-token: ${{ secrets.BLACKDUCK_API_TOKEN }} |