Skip to content
Open
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: 14 additions & 13 deletions .github/workflows/ci-main-pull-request-stub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ name: CI Pull Request on Main Branch

on:
pull_request:
branches: [ main, release/** ]
branches: [ nikhil/generate-lock-runtime, release/** ]
push:
branches: [ main, release/** ]
branches: [ nikhil/generate-lock-runtime, release/** ]

workflow_dispatch:

Expand All @@ -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@nikhil/create-lock-file-runtime
secrets: inherit
permissions:
id-token: write
Expand All @@ -40,7 +40,7 @@ jobs:
# go-private-modules: GOPRIVATE for Go private modules, default is 'github.com/progress-platform-services/*

# if version specified, it takes precedence; can be a semver like 1.0.2-xyz or a tag like "latest"
version: '6.1.13' # ${{ github.event.repository.version }}
version: '6.1.17' # ${{ github.event.repository.version }}
detect-version-source-type: 'none' # options include "none" (do not detect), "file", "github-tag" or "github-release"
detect-version-source-parameter: '' # use for file name
language: 'ruby' # Go, Ruby, Rust, JavaScript, TypeScript, Python, Java, C#, PHP, other - used for build and SonarQube language setting
Expand All @@ -60,27 +60,26 @@ jobs:
# requires these secrets: POLARIS_SERVER_URL, POLARIS_ACCESS_TOKEN
perform-blackduck-polaris: true
polaris-application-name: "Chef-Agents" # one of these: Chef-Agents, Chef-Automate, Chef-Chef360, Chef-Habitat, Chef-Infrastructure-Server, Chef-Shared-Services, Chef-Other, Chef-Non-Product
polaris-project-name: ${{ github.event.repository.name }}
polaris-blackduck-executable: 'path/to/blackduck/binary'
polaris-executable-detect-path: 'path/to/detect'
polaris-project-name: 'chef-cli'
# polaris-blackduck-executable: 'path/to/blackduck/binary'
# polaris-executable-detect-path: 'path/to/detect'

# perform application build and unit testing, will use custom repository properties when implemented for chef-primary-application, chef-build-profile, and chef-build-language
build: false
build: true
# ga-build-profile: $chef-ga-build-profile
# language: $chef-ga-build-language # this will be removed from stub as autodetected in central GA
unit-tests: false

# perform SonarQube scan, with or wihout unit test coverage data
# requires secrets SONAR_TOKEN and SONAR_HOST_URL (progress.sonar.com)
perform-sonarqube-scan: false
perform-sonarqube-scan: true
# perform-sonar-build: true
# build-profile: 'default'
# report-unit-test-coverage: true

# report to central developer dashboard
report-to-atlassian-dashboard: false
quality-product-name: 'Chef-Agents' # product name for quality reporting, like Chef360, Courier, Inspec
# quality-product-name: ${{ github.event.repository.name }} # like 'Chef-360' - the product name for quality reporting, like Chef360, Courier, Inspec
quality-product-name: 'chef-cli' # product name for quality reporting, like Chef360, Courier, Inspec
# quality-sonar-app-name: 'YourSonarAppName'
# quality-testing-type: 'Integration' like Unit, Integration, e2e, api, Performance, Security
# quality-service-name: 'YourServiceOrRepoName'
Expand All @@ -96,9 +95,11 @@ jobs:
export-github-sbom: true # SPDX JSON artifact on job instance
perform-blackduck-sca-scan: true # combined with generate sbom & generate github-sbom, also needs version above
blackduck-project-group-name: 'Chef-Agents' # typically one of (Chef), Chef-Agents, Chef-Automate, Chef-Chef360, Chef-Habitat, Chef-Infrastructure-Server, Chef-Shared-Services, Chef-Non-Product'
blackduck-project-name: ${{ github.event.repository.name }} # BlackDuck project name, typically the repository name
blackduck-project-name: chef-cli # BlackDuck project name, typically the repository name - using chef-chef-cli as using 'chef-cli' a name in sbominator fails to generate the notice file with invalid group error
generate-blackduck-sbom: true # obsolete, use perform-blackduck-sca-scan instead


run-bundle-install: true

generate-msft-sbom: false
license_scout: false # Run license scout for license compliance (uses .license_scout.yml)

Expand Down
Loading