Skip to content

Remove the check for 52 chars in the PAT to facilitate yamlizr working in a pipeline. #181

@jshield

Description

@jshield

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions