From 39bc21ea472db9a05437f8c37bdf72964c51d259 Mon Sep 17 00:00:00 2001 From: Bianca Henderson Date: Fri, 15 May 2026 16:04:08 -0400 Subject: [PATCH] Apply suggestion from @beeankha --- .github/workflows/sonarcloud.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index fda9ad17..764248f1 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -28,6 +28,10 @@ jobs: name: SonarCloud Scan runs-on: ubuntu-latest if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository + # ansible-test only runs from a path under ansible_collections/// + defaults: + run: + working-directory: ansible_collections/kubernetes/core env: # Pin ansible-test behavior; bump when raising supported ansible-core (see meta/runtime.yml). ANSIBLE_CORE_VERSION: "2.19.5"