Skip to content

Permit configurable scopes (e.g. workflows) #65

@cboettig

Description

@cboettig

Proposed change

Consider adding a cli option to request additional scopes? Currently, it looks like only the repo scope is set, and this choice is hardwired:

https://github.com/jupyterhub/gh-scoped-creds/blob/main/gh_scoped_creds/__init__.py#L23

Note that this means that users cannot push to repositories modifications to .github/workflows, as I believe that requires the "workflows" scope as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions