From 8159d2fc2fa65242a77758d60c228766f92c0025 Mon Sep 17 00:00:00 2001 From: Zach Trocinski Date: Thu, 17 Oct 2024 16:41:16 -0500 Subject: [PATCH] Add respoitory reference to fix forks --- .github/workflows/validate-queries.yml | 1 + .github/workflows/validate-recommendations.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/validate-queries.yml b/.github/workflows/validate-queries.yml index a2be7d40..2d8ca9b0 100644 --- a/.github/workflows/validate-queries.yml +++ b/.github/workflows/validate-queries.yml @@ -52,6 +52,7 @@ jobs: with: ref: ${{ github.head_ref }} fetch-depth: 0 + repository: ${{github.event.pull_request.head.repo.full_name}} - name: Azure login (OIDC) diff --git a/.github/workflows/validate-recommendations.yml b/.github/workflows/validate-recommendations.yml index 613e5508..a4cedffe 100644 --- a/.github/workflows/validate-recommendations.yml +++ b/.github/workflows/validate-recommendations.yml @@ -26,6 +26,7 @@ jobs: with: ref: ${{ github.head_ref }} fetch-depth: 0 + repository: ${{github.event.pull_request.head.repo.full_name}} - name: Set up Python 3.x uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0