Skip to content

remote_sha.github_remote does not honour remote credentials #1827

@renozao

Description

@renozao

Calling remote_sha with a github remote pointing to a private repository returns NA.

withr::with_envvar(c(GITHUB_PAT = "xxxxx"),  {
devtools:::remote_sha(devtools:::github_remote("private/repo"))
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions