Skip to content

Commit 78db83a

Browse files
authored
Update disable-code-quality to match experience
Also, add section on organization settings, in addition to repository settings
1 parent f6c2850 commit 78db83a

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

content/code-security/how-tos/maintain-quality-code/disable-code-quality.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,18 @@ When {% data variables.product.prodname_code_quality_short %} becomes generally
2222

2323
{% data reusables.repositories.navigate-to-repo %}
2424
{% data reusables.repositories.sidebar-settings %}
25-
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.
26-
1. Click **Disable**.
27-
1. Click **Save changes**.
25+
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.
26+
1. Under **Code Quality analysis**, toggle from **On** to **Off**.
2827

2928
This stops all future {% data variables.product.prodname_code_quality_short %} scans and associated billing for the repository.
29+
30+
## Disabling {% data variables.product.prodname_code_quality_short %} for your organization
31+
32+
{% data reusables.organizations.navigate-to-org %}
33+
{% data reusables.organizations.org_settings %}
34+
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.
35+
1. Under **Repository access**, select **No repositories**.
36+
1. Click **Confirm**.
37+
1. Under **Enforce access**, toggle from **Off** to **On**.
38+
39+
This stops all future {% data variables.product.prodname_code_quality_short %} scans and associated billing for the organization's repositories.

0 commit comments

Comments
 (0)