Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Only set VSTS build number in non-PR builds to avoid auth errors #17804
Description of the Change
This change fixes VSTS PR build errors we see when a non-maintainer sends a PR to this repo:
This error occurs due to a bug in VSTS which should be resolved in an upcoming release but for now this change will get us moving.
Why Should This Be In Core?
It's for da build.
Outside contributors get PR build runs.