Skip to main content

프라이빗 리포지토리에서 CodeQL을 사용하도록 설정할 수 없습니다.

프라이빗 리포지토리에서 code scanning을 사용하려면 GitHub Code Security를 사용하도록 설정해야 합니다.

Confirm whether GitHub Code Security is enabled

  1. On GitHub, navigate to the main page of the repository.

  2. Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of a repository header showing the tabs. The "Settings" tab is highlighted by a dark orange outline.

  3. In the "Security" section of the sidebar, click Advanced Security.

  4. On the settings page, scroll down to "Code Security."

  5. If there is an associated and active Enable button, Code Security is available for this repository but not yet enabled.

  6. If use of GitHub Code Security is blocked by a policy, " Disabled" is shown in place of the Enable button.

    "Screenshot of the GitHub Advanced Security" setting. The disabled option is highlighted in dark orange.

Requesting access to GitHub Code Security

  1. In the "Code Security" settings, click the enterprise or organization name to display a list of users with access to edit the policy that controls access to GitHub Code Security. For more information, see Enforcing policies for code security and analysis for your enterprise.
  2. Follow your company's policy for requesting access to additional features.

Enabling GitHub Code Security

  1. Open the "Code security" settings page.
  2. Next to the "Code Security" feature, click Enable.
  3. Rerun code scanning.