From 5749d418177e61d5abe49a2e73c875fec125dc4b Mon Sep 17 00:00:00 2001 From: Arlo Date: Thu, 26 Nov 2026 13:35:55 -0600 Subject: [PATCH] Fix the PR package push fork check to use the head repo owner --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d22ba0a6..94b93e7e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -328,7 +328,7 @@ jobs: # Push Pull Request Packages to our DevOps Artifacts Feed (see nuget.config) # exceptions for well-known and trusted contributors who own our dependencies - name: Push Pull Request Packages (if not fork) - if: ${{ env.IS_PR == 'true' && (github.event.pull_request.head.repo.full_name == github.repository || github.repository_owner == 'MartinZikmund') && github.actor != 'dependabot[bot]' }} + if: ${{ env.IS_PR == 'true' && (github.event.pull_request.head.repo.full_name == github.repository || github.event.pull_request.head.repo.owner.username == 'MartinZikmund') && github.actor != 'dependabot[bot]' }} run: | dotnet nuget add source https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-PullRequests/nuget/v3/index.json ` --name PullRequests `