Skip to content

git-node does not accept current github token format #617

@mhdawson

Description

@mhdawson

Looks to me like #613 does not allow the "new" token format from github which start tokens with a string like ghp_ to be accepted.

@Trott wondering what the motivation for this addition was:

if (!/^[0-9a-f]+$/.test(token)) {
errorExit(token must be lowercase hexadecimal, received ${token});
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions