Skip to content

Blackduck Scan

Blackduck Scan #105

Workflow file for this run

name: Blackduck Scan
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
schedule:
- cron: "0 3 * * *"
jobs:
blackduck-scan:
name: BlackDuck Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: BlackDuck Scan
uses: synopsys-sig/[email protected]
env:
DETECT_PROJECT_NAME: ${{ github.repository }}
DETECT_PROJECT_VERSION_LICENSE: MIT License
DETECT_POLICY_CHECK_FAIL_ON_SEVERITIES: ALL
DETECT_BLACKDUCK_SIGNATURE_SCANNER_ARGUMENTS: '--min-scan-interval=0'
with:
blackduck_url: ${{ secrets.BLACKDUCK_URL }}
blackduck_token: ${{ secrets.BLACKDUCK_API_TOKEN }}
blackduck_scan_full: ${{ github.event_name != 'pull_request' }}