Skip to content

Commit 24809c2

Browse files
authored
ci: Replace deprecated blackduck scan action (#1070)
**What problem does this PR solve?**: **Which issue(s) this PR fixes**: Fixes # **How Has This Been Tested?**: <!-- Please describe the tests that you ran to verify your changes. Provide output from the tests and any manual steps needed to replicate the tests. --> **Special notes for your reviewer**: <!-- Use this to provide any additional information to the reviewers. This may include: - Best way to review the PR. - Where the author wants the most review attention on. - etc. -->
1 parent 6a2fe32 commit 24809c2

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

.github/workflows/synopsys.yaml renamed to .github/workflows/blackduck.yaml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,35 @@ jobs:
4646
- name: Build Project
4747
run: devbox run -- make build-snapshot
4848

49+
- name: Set up Java 11
50+
uses: actions/setup-java@v4
51+
with:
52+
java-version: "11"
53+
distribution: "adopt"
54+
55+
- name: Setup go
56+
uses: actions/setup-go@v5
57+
with:
58+
go-version-file: go.mod
59+
4960
- name: Black Duck Full Scan
5061
if: ${{ github.event_name != 'pull_request' }}
51-
uses: synopsys-sig/[email protected]
62+
uses: blackduck-inc/[email protected]
5263
with:
53-
blackduck_url: ${{ secrets.BLACKDUCK_URL }}
54-
blackduck_token: ${{ secrets.BLACKDUCK_API_TOKEN }}
64+
blackducksca_url: ${{ secrets.BLACKDUCK_URL }}
65+
blackducksca_token: ${{ secrets.BLACKDUCK_API_TOKEN }}
5566
github_token: ${{ secrets.GITHUB_TOKEN }}
56-
blackduck_scan_full: true
57-
blackduck_scan_failure_severities: 'BLOCKER,CRITICAL'
67+
blackducksca_scan_full: true
68+
blackducksca_scan_failure_severities: 'BLOCKER,CRITICAL'
5869

5970
- name: Black Duck PR Scan
6071
if: ${{ github.event_name == 'pull_request' }}
61-
uses: synopsys-sig/[email protected]
72+
uses: blackduck-inc/[email protected]
6273
env:
6374
DETECT_PROJECT_VERSION_NAME: ${{ github.base_ref }}
6475
with:
65-
blackduck_url: ${{ secrets.BLACKDUCK_URL }}
66-
blackduck_token: ${{ secrets.BLACKDUCK_API_TOKEN }}
76+
blackducksca_url: ${{ secrets.BLACKDUCK_URL }}
77+
blackducksca_token: ${{ secrets.BLACKDUCK_API_TOKEN }}
6778
github_token: ${{ secrets.GITHUB_TOKEN }}
68-
blackduck_scan_full: false
69-
blackduck_prComment_enabled: true
79+
blackducksca_scan_full: false
80+
blackducksca_prComment_enabled: true

0 commit comments

Comments
 (0)