forked from blackducksca-workflow-samples/automatic-fixpr
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 1005 Bytes
/
blackducksca-workflow.yml
File metadata and controls
37 lines (37 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Black Duck Security Scan
on:
push:
branches:
- main
- master
- develop
- stage
- release
pull_request:
branches:
- main
- master
- develop
- stage
- release
workflow_dispatch: {}
jobs:
blackducksca:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
- 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_waitForScan: true
mark_build_status: failure
include_diagnostics: false
blackducksca_prComment_enabled: false
blackducksca_fixpr_enabled: true
github_token: ${{ secrets.GH_TOKEN }}
blackducksca_reports_sarif_create: false
blackducksca_upload_sarif_report: false