Black Duck Intelligent Policy Check #822
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@v4 | |
- name: Install devbox | |
run: curl -fsSL https://get.jetpack.io/devbox | bash -s -- -f | |
- name: Install devbox deps | |
run: devbox install | |
- name: Build Project | |
run: devbox run -- make build | |
- name: Run Synopsys Detect | |
uses: synopsys-sig/[email protected] | |
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 }} |