Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cboettig opened this issue Aug 7, 2024 · 0 comments
Open

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

cboettig opened this issue Aug 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cboettig
Copy link

cboettig commented Aug 7, 2024

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.

@cboettig cboettig added the enhancement New feature or request label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant