Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/blackducksca-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Quickstart: Black Duck Security Scan Action with blackducksca:
# https://documentation.blackduck.com/bundle/bridge/page/documentation/t_github-blackduck-quickstart.html
name: Black Duck Security Scan
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
workflow_dispatch: {}
jobs:
blackducksca:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Black Duck Security Scan
id: black-duck-security-scan
uses: blackduck-inc/black-duck-security-scan@v2
with:
blackducksca_url: ${{ vars.BLACKDUCKSCA_URL }}
blackducksca_token: ${{ secrets.BLACKDUCKSCA_TOKEN }}
blackducksca_scan_full: true
blackducksca_scan_failure_severities: 'NONE'
mark_build_status: success
env:
DETECT_PROJECT_VERSION_NAME: master
continue-on-error: true
Loading