Note: GPG verification for Codespaces is currently in beta and subject to change.
After you enable GPG verification, GitHub will automatically sign commits you make in Codespaces, and the commits will have a verified status on GitHub. By default, GPG verification is disabled for codespaces you create. You can choose to allow GPG verification for all repositories or specific repositories. Only enable GPG verification for repositories that you trust. For more information about GitHub-signed commits, see "About commit signature verification."
- In the upper-right corner of any page, click your profile photo, then click Settings.
- In the left sidebar, click Codespaces.
- Under "GPG verification", select the setting you want for GPG verification.
- If you chose "Selected repositories", select the drop-down menu, then click a repository you want enable GPG verification for. Repeat for all repositories you want to enable GPG verification for.