-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is to ensure newer versions of interfaces from SharedIndexInformers don't cause compile failures. Update go version to v1.22 becasue cmp.Or is only available in go v1.22 update prism-go-client
- Loading branch information
1 parent
36bea0e
commit c675871
Showing
30 changed files
with
1,395 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
name: Black Duck Policy Check | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- 'release-*' | ||
pull_request: | ||
|
||
jobs: | ||
security: | ||
|
@@ -17,15 +17,29 @@ jobs: | |
- name: Setup Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: "^1.19" | ||
go-version: "^1.22" | ||
|
||
- name: Build Project | ||
run: make build | ||
|
||
- name: Run Synopsys Detect | ||
uses: synopsys-sig/[email protected] | ||
- name: Black Duck Full Scan | ||
if: ${{ github.event_name != 'pull_request' }} | ||
uses: synopsys-sig/[email protected] | ||
with: | ||
blackduck_url: ${{ secrets.BLACKDUCK_URL }} | ||
blackduck_token: ${{ secrets.BLACKDUCK_API_TOKEN }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
blackduck_scan_full: true | ||
blackduck_scan_failure_severities: 'BLOCKER,CRITICAL' | ||
|
||
- name: Black Duck PR Scan | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: synopsys-sig/[email protected] | ||
env: | ||
DETECT_PROJECT_VERSION_NAME: ${{ github.base_ref }} | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
detect-version: 8.10.0 | ||
blackduck-url: ${{ secrets.BLACKDUCK_URL }} | ||
blackduck-api-token: ${{ secrets.BLACKDUCK_API_TOKEN }} | ||
blackduck_url: ${{ secrets.BLACKDUCK_URL }} | ||
blackduck_token: ${{ secrets.BLACKDUCK_API_TOKEN }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
blackduck_scan_full: false | ||
blackduck_prComment_enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.