Deprecation note: The access and security setting described below is now deprecated and is documented here for reference only. To enable expanded access to other repositories, add the requested permissions to your dev container definition. For more information, see "Managing access to other repositories within your codespace."
デフォルト設定では、Codespace は作成されたリポジトリにのみアクセスできます。 When you enable access and security for a repository owned by your organization, any codespaces that are created for that repository will also have read permissions to all other repositories the organization owns and the codespace creator has permissions to access. If you want to restrict the repositories a codespace can access, you can limit it to either the repository where the codespace was created, or to specific repositories. 信頼するリポジトリに対してのみ、アクセスとセキュリティを有効にしてください。
To manage which users in your organization can use GitHub Codespaces, see "Enabling GitHub Codespaces for your organization."
- In the top right corner of GitHub.com, click your profile photo, then click Your organizations.
- Organizationの隣のSettings(設定)をクリックしてください。
- In the left sidebar, click Codespaces.
- [Access and security] で、あなたの Organization の設定を選択します。
- [Selected repositories] を選択した場合、ドロップダウンメニューを選択してから、あなたの Organization が所有するその他のリポジトリにアクセスを許可する、リポジトリのコードスペースをクリックします。 その他のリポジトリにコードスペースによるアクセスを許可したい、すべてのリポジトリについて同じ手順を繰り返します。