From 7e190381af6a1cd187e905a458ca1265d0aea9a8 Mon Sep 17 00:00:00 2001 From: Arlo Date: Tue, 24 Nov 2026 13:09:45 -0600 Subject: [PATCH] Add PR feed exception for well-known dependency authors to simplify tooling update See also https://github.com/CommunityToolkit/Windows/pull/880 and https://github.com/CommunityToolkit/Tooling-Windows-Submodule/pull/319 --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bdc07552..2a0ce2b3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -304,8 +304,9 @@ jobs: run: ./tooling/Build-Toolkit-Components.ps1 -MultiTargets all -ExcludeMultiTargets ${{ env.EXCLUDED_MULTITARGETS }} -WinUIMajorVersion ${{ matrix.winui }} -DateForVersion ${{ env.VERSION_DATE }} ${{ env.VERSION_PROPERTY != '' && format('-PreviewVersion "{0}"', env.VERSION_PROPERTY) || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-EnableBinlogs' || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-Verbose' || '' }} -BinlogOutput ./ -NupkgOutput ./ -Release # 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.actor != 'dependabot[bot]' }} + if: ${{ env.IS_PR == 'true' && (github.event.pull_request.head.repo.full_name == github.repository || github.repository_owner == '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 `