From daea7d47c091363a622d0a763b6aaf52b280c327 Mon Sep 17 00:00:00 2001 From: Mike Surowiec Date: Fri, 11 Feb 2022 10:36:59 -0600 Subject: [PATCH] Update azure-preview-env-deploy.yml --- .github/workflows/azure-preview-env-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/azure-preview-env-deploy.yml b/.github/workflows/azure-preview-env-deploy.yml index f5cfb866e9..44832b3bb2 100644 --- a/.github/workflows/azure-preview-env-deploy.yml +++ b/.github/workflows/azure-preview-env-deploy.yml @@ -150,8 +150,9 @@ jobs: name: Check out user code to temp directory uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 with: - path: ./user-code + repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} ref: ${{ env.COMMIT_REF }} + path: ./user-code # Move acceptable user changes into our main branch checkout - if: ${{ env.IS_PUBLIC_BUILD == 'true' }}