Skip to content

Commit af4e0b7

Browse files
authored
chore(deps): update sonarsource/sonarqube-scan-action action to v6 (#97)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [SonarSource/sonarqube-scan-action](https://redirect.github.com/SonarSource/sonarqube-scan-action) | action | major | `v5.2.0` -> `v6.0.0` | --- ### Release Notes <details> <summary>SonarSource/sonarqube-scan-action (SonarSource/sonarqube-scan-action)</summary> ### [`v6.0.0`](https://redirect.github.com/SonarSource/sonarqube-scan-action/releases/tag/v6.0.0) [Compare Source](https://redirect.github.com/SonarSource/sonarqube-scan-action/compare/v5.3.2...v6.0.0) #### BREAKING CHANGE! In order to prevent command-line injection, the actions has been rewritten from Bash to JS, and the `args` input is now parsed differently. When updating to v6, you might have to update your workflow to change how arguments are quoted. For example, if you were previously passing: ```yaml - uses: SonarSource/sonarqube-scan-action@<action version> with: args: > -Dsonar.projectName="My Project" ``` you should now pass: ```yaml - uses: SonarSource/sonarqube-scan-action@<action version> with: args: > "-Dsonar.projectName=My Project" ``` For more `args` passing examples, please refer to the [README](https://redirect.github.com/SonarSource/sonarqube-scan-action/tree/master?tab=readme-ov-file#args) file #### What's Changed - SQSCANGHA-106 Migrate from Bash to JS by [@&#8203;jeremy-davis-sonarsource](https://redirect.github.com/jeremy-davis-sonarsource) in [#&#8203;208](https://redirect.github.com/SonarSource/sonarqube-scan-action/pull/208) **Full Changelog**: <SonarSource/sonarqube-scan-action@v5.3.1...v6.0.0> ### [`v5.3.2`](https://redirect.github.com/SonarSource/sonarqube-scan-action/releases/tag/v5.3.2) [Compare Source](https://redirect.github.com/SonarSource/sonarqube-scan-action/compare/v5.3.1...v5.3.2) **Full Changelog**: <SonarSource/sonarqube-scan-action@v5.3.1...v5.3.2> ### [`v5.3.1`](https://redirect.github.com/SonarSource/sonarqube-scan-action/releases/tag/v5.3.1) [Compare Source](https://redirect.github.com/SonarSource/sonarqube-scan-action/compare/v5.3.0...v5.3.1) ##### OVERLOOKED BREAKING CHANGE! In order to prevent command-line injection, the way to parse the `args` input has been changed, but this is possibly a breaking change regarding support of quotes. For example, if you were previously passing: ```yaml - uses: SonarSource/sonarqube-scan-action@<action version> with: args: > -Dsonar.projectName="My Project" ``` you should now pass: ```yaml - uses: SonarSource/sonarqube-scan-action@<action version> with: args: > "-Dsonar.projectName=My Project" ``` Edit: We have now released v6 that more accurately reflect this breaking change. ##### What's Changed - SQSCANGHA-101 Add more input injection tests by [@&#8203;aleksandra-bozhinoska-sonarsource](https://redirect.github.com/aleksandra-bozhinoska-sonarsource) in [#&#8203;200](https://redirect.github.com/SonarSource/sonarqube-scan-action/pull/200) ##### New Contributors - [@&#8203;daantimmer](https://redirect.github.com/daantimmer) made their first contribution in [#&#8203;199](https://redirect.github.com/SonarSource/sonarqube-scan-action/pull/199) **Full Changelog**: <SonarSource/sonarqube-scan-action@v5...v5.3.1> ### [`v5.3.0`](https://redirect.github.com/SonarSource/sonarqube-scan-action/releases/tag/v5.3.0) [Compare Source](https://redirect.github.com/SonarSource/sonarqube-scan-action/compare/v5.2.0...v5.3.0) #### What's Changed - SQSCANGHA-83 Avoid unbound variable error on parameter expansion by [@&#8203;aleksandra-bozhinoska-sonarsource](https://redirect.github.com/aleksandra-bozhinoska-sonarsource) in [#&#8203;192](https://redirect.github.com/SonarSource/sonarqube-scan-action/pull/192) - SQSCANGHA-97 Use /usr/bin/env for shebang by [@&#8203;eliandoran](https://redirect.github.com/eliandoran) in [#&#8203;193](https://redirect.github.com/SonarSource/sonarqube-scan-action/pull/193) - SQSCANGHA-98 Update SonarScanner CLI to 7.2.0.5079 by [@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot] in [#&#8203;196](https://redirect.github.com/SonarSource/sonarqube-scan-action/pull/196) #### New Contributors - [@&#8203;eliandoran](https://redirect.github.com/eliandoran) made their first contribution in [#&#8203;193](https://redirect.github.com/SonarSource/sonarqube-scan-action/pull/193) **Full Changelog**: <SonarSource/sonarqube-scan-action@v5.2.0...v5.3.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/TomPlum/react-git-log). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
2 parents 5c2853f + 3f858cc commit af4e0b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
name: line-coverage-info
109109
path: packages/library/coverage
110110
- name: SonarCloud Analysis
111-
uses: SonarSource/sonarqube-scan-action@v5.2.0
111+
uses: SonarSource/sonarqube-scan-action@v6.0.0
112112
env:
113113
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
114114

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
name: line-coverage-info
120120
path: packages/library/coverage
121121
- name: SonarCloud Analysis
122-
uses: SonarSource/sonarqube-scan-action@v5.2.0
122+
uses: SonarSource/sonarqube-scan-action@v6.0.0
123123
env:
124124
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
125125

0 commit comments

Comments
 (0)