Skip to content

Conversation

@singhashish-wpf
Copy link
Contributor

@singhashish-wpf singhashish-wpf commented Mar 12, 2024

Related: dotnet/winforms#10895

Microsoft Reviewers: Open in CodeFlow

test run: https://dev.azure.com/dnceng/internal/_build/results?buildId=2404086&view=results

Build pipeline for PR doesn't use azure-pipelines.yml, it uses azure-pipelines-pr.yml

@singhashish-wpf singhashish-wpf requested a review from a team as a code owner March 12, 2024 05:45
@dotnet-policy-service dotnet-policy-service bot added the PR metadata: Label to tag PRs, to facilitate with triage label Mar 12, 2024
@rchauhan18
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@rchauhan18
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@lonitra lonitra left a comment

Choose a reason for hiding this comment

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

minor comments about cleaning up conditions checking public vs internal, but otherwise awesome work! 🥳

jobs:
- template: /eng/pipeline.yml@self
parameters:
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
Copy link
Member

@lonitra lonitra Mar 14, 2024

Choose a reason for hiding this comment

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

Since we’ve separated the public/internal YAML files, we can remove these conditionals throughout this file as well as any others for conditionals that are checking internal vs. public to make things more readable.
The same can be applied to the files you duplicated e.g. azure-pipelines-pr.yml but feel free to do that in a separate PR if not already done.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sure, I'll make the required changes and will create a separate PR regarding it.

@rchauhan18 rchauhan18 merged commit 4f7ea3c into dotnet:main Mar 15, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants