-
GitHub で、リポジトリのメイン ページに移動します。
-
リポジトリ名の下にある [Settings] をクリックします。 [設定] タブが表示されない場合は、 [] ドロップダウン メニューを選び、 [設定] をクリックします。
![タブを示すリポジトリ ヘッダーのスクリーンショット。 [設定] タブが濃いオレンジ色の枠線で強調表示されています。](/assets/cb-28260/images/help/repository/repo-actions-settings.png)
-
サイドバーの [Security] セクションで、[ Advanced Security] をクリックします。
-
Secret Protection をまだ有効にしていない場合は、"Secret Protection" の右側にある [有効にする] をクリックします。
-
[Secret Protection] セクションで、[保護をプッシュ] の右側にある [有効化] をクリックします。
詳細については、次を参照してください。
-
[AUTOTITLE](/code-security/secret-scanning/working-with-secret-scanning-and-push-protection) -
[AUTOTITLE](/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/excluding-folders-and-files-from-secret-scanning) -
[AUTOTITLE](/get-started/learning-about-github/about-github-advanced-security)