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 1/4] 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 2/4] 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 3/4] 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 4/4] 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