Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.event.pull_request.head.repo.owner.username == '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.login == 'MartinZikmund') && github.actor != 'dependabot[bot]' }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait. We hard coded a username into our build workflow? That's pretty bad code smell if you ask me...

run: |
dotnet nuget add source https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-PullRequests/nuget/v3/index.json `
--name PullRequests `
Expand Down
Loading