Skip to content
16 changes: 9 additions & 7 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.14' # ${{ 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 @@ -65,14 +65,14 @@ jobs:
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
Expand All @@ -98,7 +98,9 @@ jobs:
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
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