-
GitHub で、リポジトリのメイン ページに移動します。
-
リポジトリ名の下にある [Settings] をクリックします。 [設定] タブが表示されない場合は、 [] ドロップダウン メニューを選び、 [設定] をクリックします。
![タブを示すリポジトリ ヘッダーのスクリーンショット。 [設定] タブが濃いオレンジ色の枠線で強調表示されています。](https://github.github.com/docs-ghes-3.16/assets/cb-28260/images/help/repository/repo-actions-settings.png)
-
サイドバーの [Security] セクションで、[ Code security and analysis] をクリックします。
- [Code security and analysis] で、[GitHub Advanced Security] を見つけます。
- Secret scanning の Push protection の下にある [有効にする] をクリックします。