Skip to content

Commit 6014b14

Browse files
committed
➕ Add parameter setting about the SonarQube host URL.
1 parent c14085d commit 6014b14

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/rw_sonarqube_scan.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ on:
2525
type: string
2626
required: false
2727
default: ./
28+
sonar_host_url:
29+
description: "The server host URL about SonarQube scanning mechanism."
30+
required: false
31+
type: string
32+
default: https://sonarcloud.io
2833

2934
secrets:
3035
sonar_token:
@@ -51,3 +56,4 @@ jobs:
5156
env:
5257
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
5358
SONAR_TOKEN: ${{ secrets.sonar_token }}
59+
SONAR_HOST_URL: ${{ inputs.sonar_host_url }}

0 commit comments

Comments
 (0)