From f1700773ebdb6efe6b3f8a5cf66150027dda8f5e Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 7 Feb 2025 16:38:10 +0100 Subject: [PATCH 1/7] SCSCANGHA-37 Update CODEOWNERS (#100) --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3f43f0d..e182dab 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -.github/CODEOWNERS @sonarsource/analysis-experience-squad +.github/CODEOWNERS @sonarsource/orchestration-processing-squad From 91eed767a59d6bbce22fc5651d0317561f627355 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Thu, 27 Feb 2025 09:28:32 +0100 Subject: [PATCH 2/7] SCSCANGHA-39 Redirect to the SonarQube Scan Action v5.0.0 --- action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 4ea3284..eefd987 100644 --- a/action.yml +++ b/action.yml @@ -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 }} From ffc3010689be73b8e5ae0c57ce35968afd7909e8 Mon Sep 17 00:00:00 2001 From: Matteo Bianchi <37507190+mbianchidev@users.noreply.github.com> Date: Thu, 27 Feb 2025 14:59:31 +0100 Subject: [PATCH 3/7] Add a link to the sonarqube-scan-action marketplace entry (#103) Co-authored-by: Julien HENRY --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a40440..07af29f 100644 --- a/README.md +++ b/README.md @@ -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/). From b42848bfdabac7fefc656c08af7a7864240124a3 Mon Sep 17 00:00:00 2001 From: Pavel Mikula <57188685+pavel-mikula-sonarsource@users.noreply.github.com> Date: Mon, 10 Mar 2025 10:44:35 +0100 Subject: [PATCH 4/7] SCSCANGHA-40 Autoclose issues created by Jira integration (#104) --- .github/workflows/PullRequestClosed.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/PullRequestClosed.yml b/.github/workflows/PullRequestClosed.yml index b50896e..77bf0e1 100644 --- a/.github/workflows/PullRequestClosed.yml +++ b/.github/workflows/PullRequestClosed.yml @@ -5,8 +5,8 @@ on: types: [closed] jobs: - PullRequestMerged_job: - name: Pull Request Merged + PullRequestClosed_job: + name: Pull Request Closed runs-on: ubuntu-latest permissions: id-token: write @@ -14,7 +14,6 @@ jobs: # 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 From 3f80f38bc6bad1df00a99b2a458f10935079b9c7 Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 24 Apr 2025 11:54:02 +0200 Subject: [PATCH 5/7] SQSCANGHA-90 remove mend dead conf (#105) --- .cirrus/wss-unified-agent.config | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 .cirrus/wss-unified-agent.config diff --git a/.cirrus/wss-unified-agent.config b/.cirrus/wss-unified-agent.config deleted file mode 100644 index d23b6de..0000000 --- a/.cirrus/wss-unified-agent.config +++ /dev/null @@ -1,4 +0,0 @@ -docker.projectNameFormat=repositoryNameAndTag -docker.scanImages=true -wss.url=https://saas-eu.whitesourcesoftware.com/agent -productName=GitHubAction/SonarCloudGitHubAction From 13a24e453e2e6262f3bb0c5fa8241031e637a028 Mon Sep 17 00:00:00 2001 From: Samir M Date: Fri, 9 May 2025 14:30:51 +0200 Subject: [PATCH 6/7] BUILD-8073 Migrate public repositories workflows to large runners --- .github/workflows/PullRequestClosed.yml | 2 +- .github/workflows/PullRequestCreated.yml | 2 +- .github/workflows/RequestReview.yml | 2 +- .github/workflows/SubmitReview.yml | 2 +- .github/workflows/qa.yml | 4 ++-- .github/workflows/update-tags.yml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/PullRequestClosed.yml b/.github/workflows/PullRequestClosed.yml index 77bf0e1..dd54f81 100644 --- a/.github/workflows/PullRequestClosed.yml +++ b/.github/workflows/PullRequestClosed.yml @@ -7,7 +7,7 @@ on: jobs: PullRequestClosed_job: name: Pull Request Closed - runs-on: ubuntu-latest + runs-on: ubuntu-latest-large permissions: id-token: write pull-requests: read diff --git a/.github/workflows/PullRequestCreated.yml b/.github/workflows/PullRequestCreated.yml index fc20e4a..d76bdc0 100644 --- a/.github/workflows/PullRequestCreated.yml +++ b/.github/workflows/PullRequestCreated.yml @@ -7,7 +7,7 @@ on: jobs: PullRequestCreated_job: name: Pull Request Created - runs-on: ubuntu-latest + runs-on: ubuntu-latest-large permissions: id-token: write # For external PR, ticket should be created manually diff --git a/.github/workflows/RequestReview.yml b/.github/workflows/RequestReview.yml index 5eac0d5..5e74c2b 100644 --- a/.github/workflows/RequestReview.yml +++ b/.github/workflows/RequestReview.yml @@ -7,7 +7,7 @@ on: jobs: RequestReview_job: name: Request review - runs-on: ubuntu-latest + runs-on: ubuntu-latest-large permissions: id-token: write # For external PR, ticket should be moved manually diff --git a/.github/workflows/SubmitReview.yml b/.github/workflows/SubmitReview.yml index d5f22e6..763ca30 100644 --- a/.github/workflows/SubmitReview.yml +++ b/.github/workflows/SubmitReview.yml @@ -7,7 +7,7 @@ on: jobs: SubmitReview_job: name: Submit Review - runs-on: ubuntu-latest + runs-on: ubuntu-latest-large permissions: id-token: write pull-requests: read diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 5fc2cbf..ac8087f 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -54,7 +54,7 @@ jobs: scannerVersionTest: name: > 'scannerVersion' input - runs-on: ubuntu-latest # assumes default RUNNER_ARCH for linux is X64 + runs-on: ubuntu-latest-large # 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: ubuntu-latest-large # assumes default RUNNER_ARCH for linux is X64 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/update-tags.yml b/.github/workflows/update-tags.yml index a07d193..ed4cd22 100644 --- a/.github/workflows/update-tags.yml +++ b/.github/workflows/update-tags.yml @@ -7,7 +7,7 @@ on: jobs: generate: - runs-on: ubuntu-latest + runs-on: ubuntu-latest-large permissions: contents: write From ba3875ecf642b2129de2b589510c81a8b53dbf4e Mon Sep 17 00:00:00 2001 From: SonarTech <1842438+SonarTech@users.noreply.github.com> Date: Wed, 27 Aug 2025 10:15:57 +0200 Subject: [PATCH 7/7] BUILD-8875 Migrate to standardized GitHub runner names (#108) --- .github/workflows/PullRequestClosed.yml | 2 +- .github/workflows/PullRequestCreated.yml | 2 +- .github/workflows/RequestReview.yml | 2 +- .github/workflows/SubmitReview.yml | 2 +- .github/workflows/qa.yml | 4 ++-- .github/workflows/update-tags.yml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/PullRequestClosed.yml b/.github/workflows/PullRequestClosed.yml index dd54f81..1bf2140 100644 --- a/.github/workflows/PullRequestClosed.yml +++ b/.github/workflows/PullRequestClosed.yml @@ -7,7 +7,7 @@ on: jobs: PullRequestClosed_job: name: Pull Request Closed - runs-on: ubuntu-latest-large + runs-on: github-ubuntu-latest-s permissions: id-token: write pull-requests: read diff --git a/.github/workflows/PullRequestCreated.yml b/.github/workflows/PullRequestCreated.yml index d76bdc0..1e00ed0 100644 --- a/.github/workflows/PullRequestCreated.yml +++ b/.github/workflows/PullRequestCreated.yml @@ -7,7 +7,7 @@ on: jobs: PullRequestCreated_job: name: Pull Request Created - runs-on: ubuntu-latest-large + runs-on: github-ubuntu-latest-s permissions: id-token: write # For external PR, ticket should be created manually diff --git a/.github/workflows/RequestReview.yml b/.github/workflows/RequestReview.yml index 5e74c2b..eb1425d 100644 --- a/.github/workflows/RequestReview.yml +++ b/.github/workflows/RequestReview.yml @@ -7,7 +7,7 @@ on: jobs: RequestReview_job: name: Request review - runs-on: ubuntu-latest-large + runs-on: github-ubuntu-latest-s permissions: id-token: write # For external PR, ticket should be moved manually diff --git a/.github/workflows/SubmitReview.yml b/.github/workflows/SubmitReview.yml index 763ca30..d5b18a7 100644 --- a/.github/workflows/SubmitReview.yml +++ b/.github/workflows/SubmitReview.yml @@ -7,7 +7,7 @@ on: jobs: SubmitReview_job: name: Submit Review - runs-on: ubuntu-latest-large + runs-on: github-ubuntu-latest-s permissions: id-token: write pull-requests: read diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index ac8087f..499388d 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -54,7 +54,7 @@ jobs: scannerVersionTest: name: > 'scannerVersion' input - runs-on: ubuntu-latest-large # 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-large # 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: diff --git a/.github/workflows/update-tags.yml b/.github/workflows/update-tags.yml index ed4cd22..be85366 100644 --- a/.github/workflows/update-tags.yml +++ b/.github/workflows/update-tags.yml @@ -7,7 +7,7 @@ on: jobs: generate: - runs-on: ubuntu-latest-large + runs-on: github-ubuntu-latest-s permissions: contents: write