Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion .github/workflows/ci-main-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,31 @@ on:
required: false
type: string
default: '1.0.0'
detect-policy-check-fail-on-severities:
description: 'Detect policy check on failure of prior steps, prevents an upload of SBOM or BlackDuck SCA scan if prior steps failed'
required: false
type: string
default: 'ALL'
blackduck-break-build:
description: 'Break the build if BlackDuck SCA scan finds new high or critical vulnerabilities'
required: false
type: boolean
default: true
bridge-break:
description: 'Break the build if BlackDuck SCA scan finds new bridge vulnerabilities'
required: false
type: boolean
default: true
detect-blackduck-scan-mode:
description: 'Mode for BlackDuck SCA scan detection - options include RAPID,STATELESS,INTELLIGENT'
required: false
type: string
default: 'INTELLIGENT'
blackducksca_scan_full:
description: 'Scan Mode. (true for intelligent scan & false for rapid scan)'
required: false
type: boolean
default: false
detect-version-source-type: # options include "none" (do not detect), "file", "github-tag" or "github-release"
description: 'flag to determine how to detect version dynamically'
required: false
Expand Down Expand Up @@ -928,7 +953,7 @@ jobs:
generate-sbom:
name: 'Generating SBOM'
if: ${{ inputs.generate-sbom == true }}
uses: chef/common-github-actions/.github/workflows/sbom.yml@main
uses: chef/common-github-actions/.github/workflows/sbom.yml@chef-19
needs: ci-build
secrets: inherit
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ jobs:
# echo "BLACKDUCK_SBOM_API_KEY: ${{ secrets.BLACKDUCK_SBOM_API_KEY }}" no longer used, see BLACKDUCK_SCA_TOKEN

- name: BlackDuck SBOM scan
uses: blackduck-inc/black-duck-security-scan@v2.1.1
uses: blackduck-inc/black-duck-security-scan@v2.6.0
continue-on-error: true # Allow pipeline to continue even with policy violations
env:
GOPRIVATE: ${{ inputs.go-private-modules }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stubs/ci-main-pull-request-stub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo "CI main pull request stub version $STUB_VERSION"

call-ci-main-pr-check-pipeline:
uses: chef/common-github-actions/.github/workflows/ci-main-pull-request.yml@main
uses: chef/common-github-actions/.github/workflows/ci-main-pull-request.yml@chef-19
secrets: inherit
permissions:
id-token: write
Expand Down