Skip to content

Working with GitHub code spaces #337

Open
@rayjlinden

Description

@rayjlinden

I'm trying to get nb to work with codespaces. However, GitHub creates the token you use to access repositories automatically. By default it only allows access to the repository where the devcontainer was defined.

You can edit .devcontainer/devcontainer.json file to give access to other containers. This works well to give access to most of the repos in our org to make development work well for all of our users. But you can't use this mechanism to add access to a "personal" repo like I have set up for nb.

This is making it impossible to have nb setup and working when a new Codespace starts up. Bummer!

But maybe there is a way to do this I'm not aware of yet? Do others have experience trying to get nb auto set up in code spaces? Any help or guidance would be appriciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions