Skip to content

Commit

Permalink
add blackduck scan
Browse files Browse the repository at this point in the history
  • Loading branch information
felixZdi committed Mar 22, 2024
1 parent fe21c4f commit 866cf50
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/blackduck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: blackduck
on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
issues: write
Expand All @@ -17,7 +15,6 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v3
- name: Black Duck Full Scan
#if: ${{ github.event_name != 'pull_request' }}
uses: synopsys-sig/[email protected]
env:
DETECT_PROJECT_NAME: "MED_ca-injector"
Expand All @@ -27,20 +24,7 @@ jobs:
blackduck_scan_full: true
blackduck_scan_failure_severities: "BLOCKER,CRITICAL"
blackduck_fixpr_enabled: true
blackduck_prComment_enabled: true
blackduck_fixpr_maxCount: 5
blackduck_fixpr_filter_severities: "CRITICAL,HIGH"
blackduck_fixpr_useUpgradeGuidance: "SHORT_TERM,LONG_TERM"
github_token: ${{ secrets.GITHUB_TOKEN }}

# - name: Black Duck PR Scan
# if: ${{ github.event_name == 'pull_request' }}
# uses: synopsys-sig/[email protected]
# env:
# DETECT_PROJECT_NAME: "MED_ca-injector"
# with:
# blackduck_url: ${{ secrets.BLACKDUCK_URL }}
# blackduck_token: ${{ secrets.BLACKDUCK_TOKEN }}
# blackduck_scan_full: false
# blackduck_prComment_enabled: true
# github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 866cf50

Please sign in to comment.