Black Duck Daily Policy Check #765
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 Daily Policy Check | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
security: | |
if: github.repository == 'nutanix-cloud-native/packer-plugin-nutanix' | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
checks: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "^1.19" | |
- name: Build Project | |
run: make build | |
- name: Black Duck Full Scan | |
uses: synopsys-sig/synopsys-action@v1.9.0 | |
with: | |
blackduck_url: ${{ secrets.BLACKDUCK_URL }} | |
blackduck_apiToken: ${{ secrets.BLACKDUCK_API_TOKEN }} | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
blackduck_scan_full: true | |
blackduck_scan_failure_severities: 'BLOCKER,CRITICAL' |