Skip to content

Commit 8e69c71

Browse files
committed
updating stub to pass GH_TOKEN and cleanup sonar properties file
1 parent b3282dd commit 8e69c71

File tree

2 files changed

+7
-23
lines changed

2 files changed

+7
-23
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,22 @@
1-
# stub to call CI PR checks (on PR) pipeline from main branch for
2-
# all application types (standard pipeline steps)
3-
#
4-
# inputs:
5-
# language:
6-
# description: 'Primary language in the repository'
7-
# required: true
8-
# type: choice
9-
# options:
10-
# - GoLang
11-
# - Ruby
12-
# - Rust
13-
# outputfilename:
14-
# description: 'Name of the SCC output file'
15-
# required: false
16-
# type: string
17-
# default: 'scc-output.txt'
1+
# stub to call common GitHub Action (GA) as part of Continuous Integration (CI) Pull Request process checks for main branch
2+
# inputs are described in the <org>/common-github-actions/<GA.yml> with same name as this stub
183

194
name: ci-main-pull-request-checks
205

216
on:
227
pull_request:
238
branches: [ main, release/** ]
24-
# types: [opened, synchronize, reopened, closed]
259
push:
2610
branches: [ main, release/** ]
27-
# - master
28-
# - develop
29-
# - 'features/**'
3011

3112
workflow_dispatch:
3213

3314
jobs:
34-
call-ci-ruby-main-pipeline:
15+
call-ci-main-pr-check-pipeline:
3516
uses: chef/common-github-actions/.github/workflows/ci-main-pull-request-checks.yml@main
3617
with:
3718
language: 'Ruby'
38-
outputfilename: 'scc-output.txt'
19+
# outputfilename: 'scc-output.txt'
20+
visibility: ${{ github.event.repository.visibility }} # optional, defaults to public
21+
github-token: ${{ secrets.GITHUB_TOKEN }} # optional, and used only by back-level pipelines
3922
secrets: inherit

sonar-project.properties

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# SonarQube configuration file
22
# properties defined in https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/analysis-parameters/
3+
# view output of main here https://sonar.progress.com/dashboard?id=chef_license_scout_db7f1a39-acd3-4376-9acf-80c93b9c01e2&codeScope=overall
34

45
# Required metadata
56
sonar.projectKey=chef_license_scout_db7f1a39-acd3-4376-9acf-80c93b9c01e2

0 commit comments

Comments
 (0)