-
On GitHub, navigate to the main page of the repository.
-
Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

-
In the "Security" section of the sidebar, click Advanced Security.
-
If you have not already enabled Secret Protection, to the right of "Secret Protection", click Enable.
-
In the "Secret Protection" section, to the right of "Push protection", click Enable.
리포지토리에 푸시 보호 활성화
secret scanning 푸시 보호 기능을 사용하면 기여자가 리포지토리에 비밀을 푸시하지 못하도록 차단하고, 차단을 우회하려고 할 때마다 경고를 생성합니다.