From 6c0fe09a3a02bb6d49f17e0ac26217b5bedd8684 Mon Sep 17 00:00:00 2001 From: Viktor Vorona Date: Mon, 5 May 2025 10:00:26 +0200 Subject: [PATCH] Migrate github workflow to sonar-runner --- .github/workflows/PullRequestClosed.yml | 2 +- .github/workflows/PullRequestCreated.yml | 2 +- .github/workflows/RequestReview.yml | 2 +- .github/workflows/SubmitReview.yml | 2 +- .github/workflows/run-qa.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/PullRequestClosed.yml b/.github/workflows/PullRequestClosed.yml index c6453c0..91bc864 100644 --- a/.github/workflows/PullRequestClosed.yml +++ b/.github/workflows/PullRequestClosed.yml @@ -7,7 +7,7 @@ on: jobs: PullRequestMerged_job: name: Pull Request Merged - runs-on: ubuntu-latest + runs-on: sonar-runner permissions: id-token: write pull-requests: read diff --git a/.github/workflows/PullRequestCreated.yml b/.github/workflows/PullRequestCreated.yml index b74b2d0..1c0fc21 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: sonar-runner 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..4d21449 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: sonar-runner 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..b723eec 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: sonar-runner permissions: id-token: write pull-requests: read diff --git a/.github/workflows/run-qa.yml b/.github/workflows/run-qa.yml index 0362fd1..b36f818 100644 --- a/.github/workflows/run-qa.yml +++ b/.github/workflows/run-qa.yml @@ -7,7 +7,7 @@ on: types: [opened, synchronize, reopened] jobs: run-unit-tests: - runs-on: ubuntu-latest + runs-on: sonar-runner steps: - name: checkout action uses: actions/checkout@v2