Commit af4e0b7
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
[@​jeremy-davis-sonarsource](https://redirect.github.com/jeremy-davis-sonarsource)
in
[#​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
[@​aleksandra-bozhinoska-sonarsource](https://redirect.github.com/aleksandra-bozhinoska-sonarsource)
in
[#​200](https://redirect.github.com/SonarSource/sonarqube-scan-action/pull/200)
##### New Contributors
- [@​daantimmer](https://redirect.github.com/daantimmer) made
their first contribution in
[#​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
[@​aleksandra-bozhinoska-sonarsource](https://redirect.github.com/aleksandra-bozhinoska-sonarsource)
in
[#​192](https://redirect.github.com/SonarSource/sonarqube-scan-action/pull/192)
- SQSCANGHA-97 Use /usr/bin/env for shebang by
[@​eliandoran](https://redirect.github.com/eliandoran) in
[#​193](https://redirect.github.com/SonarSource/sonarqube-scan-action/pull/193)
- SQSCANGHA-98 Update SonarScanner CLI to 7.2.0.5079 by
[@​github-actions](https://redirect.github.com/github-actions)\[bot]
in
[#​196](https://redirect.github.com/SonarSource/sonarqube-scan-action/pull/196)
#### New Contributors
- [@​eliandoran](https://redirect.github.com/eliandoran) made
their first contribution in
[#​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 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments