GPG 検証を有効にすると、GitHub は GitHub Codespaces であなたが作成したコミットに自動的に署名し、そのコミットは GitHub Enterprise Cloud で検証済みのステータスとなります。 デフォルトでは、GPG 検証は作成されたコードスペースに対して無効になっています。 GPG 検証を、すべてのリポジトリに対して許可するか特定のリポジトリに対して許可するか選択できます。 GPG 検証は、信頼するリポジトリに対してのみ有効にしてください。 GitHub Enterprise Cloud が署名したコミットに関する詳しい情報については、「コミット署名の検証について」を参照してください。
Once you enable GPG verification, it will immediately take effect for all your codespaces.
-
任意のページの右上で、プロフィール画像をクリックし、続いてSettings(設定)をクリックしてください。
-
In the "Code, planning, and automation" section of the sidebar, click Codespaces.
-
[GPG verification] で、GPG 検証の設定を選択します。
-
[Selected repositories] を選択した場合、ドロップダウンメニューを選択してから、GPG 検証を有効にするリポジトリをクリックします。 GPG 検証を有効にするすべてのリポジトリについて、同じ手順を繰り返します。
Note: Once you have enabled GPG verification for Codespaces, you also must append -S
to each commit in order for it to be signed. To do this in Visual Studio Code, ensure the "Git: Enable Commit Signing" option is enabled from the Settings.