mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-14 10:21:14 +00:00
- Added a new input parameter `scannerBinariesAuth` to allow passing an authentication token for downloading the Sonar Scanner CLI. - Implemented a `downloadWithFetch` function to handle downloads with authorization headers. - Updated the `installSonarScanner` function to use the new download method when an auth token is provided. - Included the `fs` module in the project dependencies to manage file system operations. - Updated package.json and package-lock.json to include the new `fs` dependency. - Modified the `getInputs` function to return the new `scannerBinariesAuth` input.
25 lines
808 B
JSON
25 lines
808 B
JSON
{
|
|
"name": "sonarqube-scan-action",
|
|
"version": "6.0.0",
|
|
"description": "This SonarSource project, available as a GitHub Action, scans your projects with SonarQube [Server](https://www.sonarsource.com/products/sonarqube/) or [Cloud](https://www.sonarsource.com/products/sonarcloud/).",
|
|
"type": "module",
|
|
"main": "src/main/index.js",
|
|
"scripts": {
|
|
"build": "rollup --config rollup.config.js",
|
|
"test": "node --test"
|
|
},
|
|
"license": "LGPL-3.0-only",
|
|
"dependencies": {
|
|
"@actions/core": "1.11.1",
|
|
"@actions/github": "6.0.1",
|
|
"@actions/tool-cache": "2.0.2",
|
|
"fs": "^0.0.1-security",
|
|
"string-argv": "0.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "28.0.6",
|
|
"@rollup/plugin-node-resolve": "16.0.1",
|
|
"mock-fs": "5.5.0",
|
|
"rollup": "4.50.1"
|
|
}
|
|
}
|