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 `