Azure DevOps agents do not use PATs to communicate with Azure DevOps, instead they use an access token issued by an oath2 token endpoint, as such this check leads to yamlizr running in a pipeline to fail.
our use case is to monitor the countless legacy pipelines running in our organization and determine porting efforts when they get updated.
|
if (string.IsNullOrWhiteSpace(PAT) || PAT.Trim().Length != 52) |