File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 type : boolean
1414 required : false
1515 description : " Whether to combine multiple LCOV and sonar-report files in coverage artifact"
16+ version-pkg-json-dir :
17+ type : string
18+ default : " ."
19+ description : " Relative path of the directory containing package.json with the `version` to use."
1620permissions : {}
1721jobs :
1822 sonarqube :
8488 repository : ${{ github.event.workflow_run.head_repository.full_name }}
8589 is_pr : ${{ github.event.workflow_run.event == 'pull_request' }}
8690 skip_coverage_label : Z-Skip-Coverage
87- version_cmd : " cat package.json | jq -r .version"
91+ version_cmd : " cat ${{ inputs.version-pkg-json-dir }}/ package.json | jq -r .version"
8892 branch : ${{ github.event.workflow_run.head_branch }}
8993 revision : ${{ github.event.workflow_run.head_sha }}
9094 token : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments