Skip to content
name: Blackduck Scanning
on:
push:
branches:
- main
- add_blackduck
tags:
- v**
jobs:
build:
runs-on: [ ubuntu-latest ]
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Black Duck Scan
uses: synopsys-sig/synopsys-action@v1.11.0
### Configure DETECT environment variables
env:
DETECT_PROJECT_NAME: oa_libiio
DETECT_PROJECT_VERSION_NAME: ${{ github.ref_name }}
# DETECT_WAIT_FOR_RESULTS: 0
# DETECT_BLACKDUCK_SIGNATURE_SCANNING_LICENSE_SEARCH: 1
# DETECT_BLACKDUCK_SIGNATURE_SCANNING_COPYRIGHT_SEARCH: 1
DETECT_EXCLUDED_DETECTOR_TYPES: GIT
with:
### SCANNING: Required fields
blackduck_url: ${{ vars.BLACKDUCK_URL }}
blackduck_token: ${{ secrets.BLACKDUCK_TOKEN }}
blackduck_args: '--detect.wait.for.results=false'