Compare commits

...

7 commits

Author SHA1 Message Date
SonarTech
ba3875ecf6
BUILD-8875 Migrate to standardized GitHub runner names (#108) 2025-08-27 10:15:57 +02:00
Samir M
13a24e453e BUILD-8073 Migrate public repositories workflows to large runners 2025-05-16 16:48:24 +02:00
Pierre
3f80f38bc6
SQSCANGHA-90 remove mend dead conf (#105) 2025-04-24 11:54:02 +02:00
Pavel Mikula
b42848bfda
SCSCANGHA-40 Autoclose issues created by Jira integration (#104) 2025-03-10 10:44:35 +01:00
Matteo Bianchi
ffc3010689
Add a link to the sonarqube-scan-action marketplace entry (#103)
Co-authored-by: Julien HENRY <julien.henry@sonarsource.com>
2025-02-27 14:59:31 +01:00
Julien HENRY
91eed767a5
SCSCANGHA-39 Redirect to the SonarQube Scan Action v5.0.0 2025-02-27 09:28:32 +01:00
Pierre
f1700773eb
SCSCANGHA-37 Update CODEOWNERS (#100) 2025-02-07 16:38:10 +01:00
10 changed files with 14 additions and 18 deletions

View file

@ -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
View file

@ -1 +1 @@
.github/CODEOWNERS @sonarsource/analysis-experience-squad
.github/CODEOWNERS @sonarsource/orchestration-processing-squad

View file

@ -5,16 +5,15 @@ on:
types: [closed]
jobs:
PullRequestMerged_job:
name: Pull Request Merged
runs-on: ubuntu-latest
PullRequestClosed_job:
name: Pull Request Closed
runs-on: github-ubuntu-latest-s
permissions:
id-token: write
pull-requests: read
# For external PR, ticket should be moved manually
if: |
github.event.pull_request.head.repo.full_name == github.repository
&& github.event.pull_request.merged
steps:
- id: secrets
uses: SonarSource/vault-action-wrapper@v3

View file

@ -7,7 +7,7 @@ on:
jobs:
PullRequestCreated_job:
name: Pull Request Created
runs-on: ubuntu-latest
runs-on: github-ubuntu-latest-s
permissions:
id-token: write
# For external PR, ticket should be created manually

View file

@ -7,7 +7,7 @@ on:
jobs:
RequestReview_job:
name: Request review
runs-on: ubuntu-latest
runs-on: github-ubuntu-latest-s
permissions:
id-token: write
# For external PR, ticket should be moved manually

View file

@ -7,7 +7,7 @@ on:
jobs:
SubmitReview_job:
name: Submit Review
runs-on: ubuntu-latest
runs-on: github-ubuntu-latest-s
permissions:
id-token: write
pull-requests: read

View file

@ -54,7 +54,7 @@ jobs:
scannerVersionTest:
name: >
'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:
- uses: actions/checkout@v4
with:
@ -74,7 +74,7 @@ jobs:
scannerBinariesUrlTest:
name: >
'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:
- uses: actions/checkout@v4
with:

View file

@ -7,7 +7,7 @@ on:
jobs:
generate:
runs-on: ubuntu-latest
runs-on: github-ubuntu-latest-s
permissions:
contents: write

View file

@ -3,7 +3,7 @@
> [!WARNING]
> 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.
> 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/).

View file

@ -15,7 +15,8 @@ inputs:
scannerVersion:
description: Version of the Sonar Scanner CLI to use
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:
description: URL to download the Sonar Scanner CLI binaries from
required: false
@ -28,7 +29,7 @@ runs:
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."
- name: SonarQube Cloud Scan
uses: SonarSource/sonarqube-scan-action@v4.1.0
uses: SonarSource/sonarqube-scan-action@v5.0.0
with:
args: ${{ inputs.args }}
projectBaseDir: ${{ inputs.projectBaseDir }}