Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

{% data reusables.code-quality.code-quality-preview-note %}

<!-- expires 2026-07-20 -->

Check warning on line 16 in content/code-security/how-tos/maintain-quality-code/disable-code-quality.md

View workflow job for this annotation

GitHub Actions / lint-content

Content that expires soon should be proactively addressed.

Content marked with an expiration date will expire soon. The content exists between 2 HTML comment tags in the format <!-- expires yyyy-mm-dd --> and <!-- end expires yyyy-mm-dd -->. Check whether this content can be removed or rewritten before it expires.
<!-- on July 20, 2026, remove this article and add a redirect to it to code-security/how-tos/maintain-quality-code/enable-code-quality.md. In that article, also mention how to disable the feature and explain why users may want to do this (to avoid charges) -->

When {% data variables.product.prodname_code_quality_short %} becomes generally available on July 20, 2026, usage will incur charges. If you want to avoid charges, you can disable {% data variables.product.prodname_code_quality_short %} before that date. **Disabling {% data variables.product.prodname_code_quality_short %} stops all future scans and billing.**
Expand All @@ -22,8 +22,18 @@

{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
1. In the sidebar, under "Security", click **{% data variables.code-quality.code_quality_ui_settings %}** to display the "{% data variables.code-quality.code_quality_ui %}" page.
1. Click **Disable**.
1. Click **Save changes**.
1. In the sidebar, under "Security and quality", click **{% data variables.code-quality.code_quality_ui_settings %}** to display the "{% data variables.code-quality.code_quality_ui %}" page.
1. Under **Code Quality analysis**, toggle from **On** to **Off**.

This stops all future {% data variables.product.prodname_code_quality_short %} scans and associated billing for the repository.

## Disabling {% data variables.product.prodname_code_quality_short %} for your organization

{% data reusables.organizations.navigate-to-org %}
{% data reusables.organizations.org_settings %}
1. In the sidebar, under "Security", click **{% data variables.code-quality.code_quality_ui_settings %}** to display the "{% data variables.code-quality.code_quality_ui %}" page.
1. Under **Repository access**, select **No repositories**.
1. Click **Confirm**.
1. Under **Enforce access**, toggle from **Off** to **On**.
Comment on lines +36 to +37

This stops all future {% data variables.product.prodname_code_quality_short %} scans and associated billing for the organization's repositories.
Loading