Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore mapping disables during non-recursive synchronization #4211

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

premun
Copy link
Member

@premun premun commented Dec 4, 2024

#4159

This means that we will ignore the flag during forward codeflows which would not otherwise be possible because we want to disable the pipeline sync for a repo always first.
But it's okay to do this because when we want to synchronize a single repository, it doesn't make sense to just refuse to do it because it's toggled off. It does make sense to adhere to this flag during a recursive sync (which happens in the pipeline sync).

Also improves the exception when we can't create a PR.

@premun premun requested a review from Copilot December 4, 2024 16:54

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no suggestions.

@premun premun requested a review from dkurepa December 4, 2024 17:20
@premun premun merged commit 62f7ead into dotnet:main Dec 5, 2024
9 checks passed
@premun premun deleted the prvysoky/better-exception branch December 5, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants