From 52d082aed6aa78647dad6485a23e7cd31fdee995 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 4 Dec 2025 12:22:36 +0000 Subject: [PATCH] Add label to skip Sonar coverage (#31420) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .github/labels.yml | 4 ++-- .github/workflows/tests.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/labels.yml b/.github/labels.yml index 3d7b1a5b22..649e1a7407 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -279,6 +279,6 @@ - name: "Z-Flaky-Test-Disabled" description: "The flaking test has been disabled" color: "ededed" -- name: "Z-Skip-Sonar" - description: "Skip SonarQube analysis for this PR" +- name: "Z-Skip-Coverage" + description: "Skip SonarQube coverage for this PR" color: "ededed" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 04a92e44fc..30ddc35398 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -103,7 +103,7 @@ jobs: run: exit 1 - name: Skip SonarCloud in merge queue - if: github.event_name == 'merge_group' || inputs.disable_coverage == 'true' || contains(github.event.pull_request.labels.*.name, 'Z-Skip-Sonar') + if: github.event_name == 'merge_group' || inputs.disable_coverage == 'true' uses: guibranco/github-status-action-v2@5530c593759f489bba08272e96986ffc571c1ea1 with: authToken: ${{ secrets.GITHUB_TOKEN }}