Skip to content
Merged
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
8 changes: 7 additions & 1 deletion .github/workflows/ci-main-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,11 @@ jobs:
with:
go-version: '1.24'
check-latest: true
- name: Configure git for private Go modules
if: env.GA_BUILD_LANGUAGE == 'go'
env:
GOPRIVATE: ${{ inputs.go-private-modules }}
run: git config --global url."https://${{ secrets.GH_TOKEN }}@github.com/".insteadOf "https://github.com/"
- name: Go linting and security checks
if: env.GA_BUILD_LANGUAGE == 'go'
run: |
Expand Down Expand Up @@ -961,4 +966,5 @@ jobs:
go-private-modules: ${{ inputs.go-private-modules }}
udf1: ${{ inputs.udf1 }}
udf2: ${{ inputs.udf2 }}
udf3: ${{ inputs.udf3 }}
udf3: ${{ inputs.udf3 }}

25 changes: 15 additions & 10 deletions .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ jobs:
- name: Checkout source
uses: actions/checkout@v4

- name: Configure git for private Go modules
env:
GOPRIVATE: ${{ inputs.go-private-modules }}
run: git config --global url."https://${{ secrets.GH_TOKEN }}@github.com/".insteadOf "https://github.com/"

- name: BlackDuck SCA scan
id: black-duck-sca-scan
run: |
Expand All @@ -198,7 +203,9 @@ jobs:

- name: BlackDuck SBOM scan
uses: blackduck-inc/[email protected]
continue-on-error: true # Allow pipeline to continue even with policy violations
env:
GOPRIVATE: ${{ inputs.go-private-modules }}
DETECT_PROJECT_GROUP_NAME: ${{ inputs.blackduck-project-group-name}} #'Chef-Agents' # <the_parent_group_of_your_target_project>, Chef, Chef-Agents, Chef-Automate, Chef-Chef360, Chef-Habitat, Chef-Infrastructure-Server, Chef-Shared-Services
DETECT_PROJECT_NAME: ${{ inputs.blackduck-project-name }}
DETECT_PROJECT_VERSION_NAME: ${{ inputs.version }} # <the_existing_version_in_your_project>
Expand All @@ -225,11 +232,10 @@ jobs:
go-version: 'stable'
# go-version: 1.24.2
# check-latest: true
# - name: Configure git for private modules
# env:
# GOPRIVATE: github.com/progress-platform-services/*
# use ${{ inputs.go-private-modules }}
# run: git config --global url."https://${{ secrets.GH_TOKEN }}@github.com/".insteadOf "https://github.com/"
- name: Configure git for private modules
env:
GOPRIVATE: ${{ inputs.go-private-modules }}
run: git config --global url."https://${{ secrets.GH_TOKEN }}@github.com/".insteadOf "https://github.com/"

- name: create folder
run: mkdir -p ./bin
Expand Down Expand Up @@ -269,11 +275,10 @@ jobs:
# go-version: 1.24.2
# check-latest: true

# - name: Configure git for private modules
# env:
# GOPRIVATE: github.com/progress-platform-services/*
# use ${{ inputs.go-private-modules }}
# run: git config --global url."https://${{ secrets.GH_TOKEN }}@github.com/".insteadOf "https://github.com/"
- name: Configure git for private modules
env:
GOPRIVATE: ${{ inputs.go-private-modules }}
run: git config --global url."https://${{ secrets.GH_TOKEN }}@github.com/".insteadOf "https://github.com/"

- name: set up license_scout
uses: ruby/setup-ruby@v1
Expand Down