Skip to content

Commit d6aa948

Browse files
author
Black Duck
committed
Black Duck Security: Committed polaris-workflow.yml
1 parent 00879d6 commit d6aa948

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Polaris Security Scan
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- master
7+
- develop
8+
- stage
9+
- release
10+
pull_request:
11+
branches:
12+
- main
13+
- master
14+
- develop
15+
- stage
16+
- release
17+
workflow_dispatch: {}
18+
jobs:
19+
polaris:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout Source
23+
uses: actions/checkout@v4
24+
- name: Polaris Security Scan
25+
id: polaris-scan
26+
uses: blackduck-inc/black-duck-security-scan@v2
27+
with:
28+
polaris_server_url: ${{ vars.POLARIS_URL }}
29+
polaris_access_token: ${{ secrets.POLARIS_ACCESS_TOKEN }}
30+
polaris_assessment_types: SAST,SCA
31+
polaris_waitForScan: true
32+
mark_build_status: failure
33+
include_diagnostics: false
34+
polaris_prComment_enabled: false
35+
polaris_reports_sarif_create: false
36+
polaris_upload_sarif_report: false

0 commit comments

Comments
 (0)