mirror of
https://github.com/sonarsource/sonarcloud-github-action.git
synced 2026-06-06 16:47:12 +00:00
Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba3875ecf6 |
||
|
|
13a24e453e | ||
|
|
3f80f38bc6 |
||
|
|
b42848bfda |
||
|
|
ffc3010689 |
||
|
|
91eed767a5 |
||
|
|
f1700773eb |
10 changed files with 14 additions and 18 deletions
|
|
@ -1,4 +0,0 @@
|
||||||
docker.projectNameFormat=repositoryNameAndTag
|
|
||||||
docker.scanImages=true
|
|
||||||
wss.url=https://saas-eu.whitesourcesoftware.com/agent
|
|
||||||
productName=GitHubAction/SonarCloudGitHubAction
|
|
||||||
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
|
@ -1 +1 @@
|
||||||
.github/CODEOWNERS @sonarsource/analysis-experience-squad
|
.github/CODEOWNERS @sonarsource/orchestration-processing-squad
|
||||||
|
|
|
||||||
7
.github/workflows/PullRequestClosed.yml
vendored
7
.github/workflows/PullRequestClosed.yml
vendored
|
|
@ -5,16 +5,15 @@ on:
|
||||||
types: [closed]
|
types: [closed]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
PullRequestMerged_job:
|
PullRequestClosed_job:
|
||||||
name: Pull Request Merged
|
name: Pull Request Closed
|
||||||
runs-on: ubuntu-latest
|
runs-on: github-ubuntu-latest-s
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
pull-requests: read
|
pull-requests: read
|
||||||
# For external PR, ticket should be moved manually
|
# For external PR, ticket should be moved manually
|
||||||
if: |
|
if: |
|
||||||
github.event.pull_request.head.repo.full_name == github.repository
|
github.event.pull_request.head.repo.full_name == github.repository
|
||||||
&& github.event.pull_request.merged
|
|
||||||
steps:
|
steps:
|
||||||
- id: secrets
|
- id: secrets
|
||||||
uses: SonarSource/vault-action-wrapper@v3
|
uses: SonarSource/vault-action-wrapper@v3
|
||||||
|
|
|
||||||
2
.github/workflows/PullRequestCreated.yml
vendored
2
.github/workflows/PullRequestCreated.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
PullRequestCreated_job:
|
PullRequestCreated_job:
|
||||||
name: Pull Request Created
|
name: Pull Request Created
|
||||||
runs-on: ubuntu-latest
|
runs-on: github-ubuntu-latest-s
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
# For external PR, ticket should be created manually
|
# For external PR, ticket should be created manually
|
||||||
|
|
|
||||||
2
.github/workflows/RequestReview.yml
vendored
2
.github/workflows/RequestReview.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
RequestReview_job:
|
RequestReview_job:
|
||||||
name: Request review
|
name: Request review
|
||||||
runs-on: ubuntu-latest
|
runs-on: github-ubuntu-latest-s
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
# For external PR, ticket should be moved manually
|
# For external PR, ticket should be moved manually
|
||||||
|
|
|
||||||
2
.github/workflows/SubmitReview.yml
vendored
2
.github/workflows/SubmitReview.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
SubmitReview_job:
|
SubmitReview_job:
|
||||||
name: Submit Review
|
name: Submit Review
|
||||||
runs-on: ubuntu-latest
|
runs-on: github-ubuntu-latest-s
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
pull-requests: read
|
pull-requests: read
|
||||||
|
|
|
||||||
4
.github/workflows/qa.yml
vendored
4
.github/workflows/qa.yml
vendored
|
|
@ -54,7 +54,7 @@ jobs:
|
||||||
scannerVersionTest:
|
scannerVersionTest:
|
||||||
name: >
|
name: >
|
||||||
'scannerVersion' input
|
'scannerVersion' input
|
||||||
runs-on: ubuntu-latest # assumes default RUNNER_ARCH for linux is X64
|
runs-on: github-ubuntu-latest-s # assumes default RUNNER_ARCH for linux is X64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -74,7 +74,7 @@ jobs:
|
||||||
scannerBinariesUrlTest:
|
scannerBinariesUrlTest:
|
||||||
name: >
|
name: >
|
||||||
'scannerBinariesUrl' input with invalid URL
|
'scannerBinariesUrl' input with invalid URL
|
||||||
runs-on: ubuntu-latest # assumes default RUNNER_ARCH for linux is X64
|
runs-on: github-ubuntu-latest-s # assumes default RUNNER_ARCH for linux is X64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
2
.github/workflows/update-tags.yml
vendored
2
.github/workflows/update-tags.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
generate:
|
generate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: github-ubuntu-latest-s
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> This action is deprecated and will be removed in a future release.
|
> This action is deprecated and will be removed in a future release.
|
||||||
> Please use the `sonarqube-scan-action` action instead.
|
> Please use the `sonarqube-scan-action` action instead.
|
||||||
> The `sonarqube-scan-action` is a drop-in replacement for this action.
|
> The `sonarqube-scan-action` is a drop-in replacement for this action, you can find it [here](https://github.com/marketplace/actions/official-sonarqube-scan).
|
||||||
|
|
||||||
This SonarSource project, available as a GitHub Action, scans your projects with SonarQube [Cloud](https://www.sonarsource.com/products/sonarcloud/).
|
This SonarSource project, available as a GitHub Action, scans your projects with SonarQube [Cloud](https://www.sonarsource.com/products/sonarcloud/).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@ inputs:
|
||||||
scannerVersion:
|
scannerVersion:
|
||||||
description: Version of the Sonar Scanner CLI to use
|
description: Version of the Sonar Scanner CLI to use
|
||||||
required: false
|
required: false
|
||||||
default: 6.2.1.4610
|
# to be kept in sync with the default version in the sonarqube-scan-action
|
||||||
|
default: 7.0.2.4839
|
||||||
scannerBinariesUrl:
|
scannerBinariesUrl:
|
||||||
description: URL to download the Sonar Scanner CLI binaries from
|
description: URL to download the Sonar Scanner CLI binaries from
|
||||||
required: false
|
required: false
|
||||||
|
|
@ -28,7 +29,7 @@ runs:
|
||||||
run: |
|
run: |
|
||||||
echo "::warning title=SonarScanner::This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action."
|
echo "::warning title=SonarScanner::This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action."
|
||||||
- name: SonarQube Cloud Scan
|
- name: SonarQube Cloud Scan
|
||||||
uses: SonarSource/sonarqube-scan-action@v4.1.0
|
uses: SonarSource/sonarqube-scan-action@v5.0.0
|
||||||
with:
|
with:
|
||||||
args: ${{ inputs.args }}
|
args: ${{ inputs.args }}
|
||||||
projectBaseDir: ${{ inputs.projectBaseDir }}
|
projectBaseDir: ${{ inputs.projectBaseDir }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue