From c5331e633241084821527392eab3269332b0682b Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Fri, 22 Sep 2023 09:05:28 -0400 Subject: [PATCH] Remove some more unnecessary indented_data_reference tags (#43036) --- ...nforcing-policies-for-github-actions-in-your-enterprise.md | 4 ++-- .../troubleshooting-ssh/error-permission-denied-publickey.md | 2 +- .../testing-custom-queries.md | 2 +- .../configuring-basic-settings-in-github-desktop.md | 4 ++-- .../authenticating-to-github-in-github-desktop.md | 2 +- ...ing-whether-users-in-your-organization-have-2fa-enabled.md | 2 +- ...publication-of-github-pages-sites-for-your-organization.md | 2 +- .../managing-github-actions-settings-for-a-repository.md | 4 ++-- data/reusables/actions/configure-runner-group-access.md | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md b/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md index 5cffeabdf1f9..15c2b4ec7a6f 100644 --- a/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md +++ b/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md @@ -24,7 +24,7 @@ topics: - Policies shortTitle: GitHub Actions policies --- - + ## About policies for {% data variables.product.prodname_actions %} in your enterprise @@ -41,7 +41,7 @@ You can choose to disable {% data variables.product.prodname_actions %} for all {% data reusables.enterprise-accounts.actions-tab %} 1. Under "Policies", select your options. - {% indented_data_reference reusables.actions.actions-use-policy-settings spaces=3 %} + {% data reusables.actions.actions-use-policy-settings %} {%- ifversion ghes or ghae %} {% note %} diff --git a/content/authentication/troubleshooting-ssh/error-permission-denied-publickey.md b/content/authentication/troubleshooting-ssh/error-permission-denied-publickey.md index 1c4b858669a6..d1fcd50206cb 100644 --- a/content/authentication/troubleshooting-ssh/error-permission-denied-publickey.md +++ b/content/authentication/troubleshooting-ssh/error-permission-denied-publickey.md @@ -78,7 +78,7 @@ $ ssh -T git@{% data variables.command_line.codeblock %} {% data reusables.desktop.windows_git_for_windows_turn_on_ssh_agent %} - {% indented_data_reference reusables.desktop.note-start-ssh-agent spaces=3 %} + {% data reusables.desktop.note-start-ssh-agent %} 1. Verify that you have a private key generated and loaded into SSH. diff --git a/content/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/testing-custom-queries.md b/content/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/testing-custom-queries.md index c00aedbcf4d8..94d1a1481441 100644 --- a/content/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/testing-custom-queries.md +++ b/content/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/testing-custom-queries.md @@ -144,7 +144,7 @@ other custom queries. For example, `custom-queries/java/queries/EmptyThen.ql`. 1. Create a {% data variables.product.prodname_codeql %} pack for your Java tests by adding a `qlpack.yml` file with the following contents to `custom-queries/java/tests`, updating the `dependencies` to match the name of your {% data variables.product.prodname_codeql %} pack of custom queries: - {% indented_data_reference reusables.codeql-cli.test-qlpack spaces=3 %} + {% data reusables.codeql-cli.test-qlpack %} 1. Run `codeql pack install` in the root of the test directory. This generates a `codeql-pack.lock.yml` file that specifies all of the transitive dependencies required to run queries in this pack. diff --git a/content/desktop/configuring-and-customizing-github-desktop/configuring-basic-settings-in-github-desktop.md b/content/desktop/configuring-and-customizing-github-desktop/configuring-basic-settings-in-github-desktop.md index 208ecfb489cd..8c1db78d4bc1 100644 --- a/content/desktop/configuring-and-customizing-github-desktop/configuring-basic-settings-in-github-desktop.md +++ b/content/desktop/configuring-and-customizing-github-desktop/configuring-basic-settings-in-github-desktop.md @@ -17,7 +17,7 @@ shortTitle: Configure basic settings ![Screenshot of the "Preferences" window. The left sidebar, with menu options such as "Accounts" and "Integrations", is highlighted with an orange outline.](/assets/images/help/desktop/mac-select-preferences-pane.png) - {% indented_data_reference reusables.desktop.preferences-options-tabs spaces=3 %} + {% data reusables.desktop.preferences-options-tabs %} {% endmac %} @@ -28,7 +28,7 @@ shortTitle: Configure basic settings ![Screenshot of the "Options" window. The left sidebar, with menu options such as "Accounts" and "Integrations", is highlighted with an orange outline.](/assets/images/help/desktop/window-select-options-pane.png) - {% indented_data_reference reusables.desktop.preferences-options-tabs spaces=3 %} + {% data reusables.desktop.preferences-options-tabs %} {% endwindows %} diff --git a/content/desktop/installing-and-authenticating-to-github-desktop/authenticating-to-github-in-github-desktop.md b/content/desktop/installing-and-authenticating-to-github-desktop/authenticating-to-github-in-github-desktop.md index d84b037bc363..317335d2eaa0 100644 --- a/content/desktop/installing-and-authenticating-to-github-desktop/authenticating-to-github-in-github-desktop.md +++ b/content/desktop/installing-and-authenticating-to-github-desktop/authenticating-to-github-in-github-desktop.md @@ -57,7 +57,7 @@ Before you authenticate, {% data reusables.desktop.get-an-account %} {% data reusables.desktop.sign-in-browser %} - {% indented_data_reference reusables.user-settings.password-authentication-deprecation-desktop spaces=3 %} + {% data reusables.user-settings.password-authentication-deprecation-desktop %} {% data reusables.desktop.authenticate-in-browser %} {% data reusables.desktop.2fa-in-browser %} diff --git a/content/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/viewing-whether-users-in-your-organization-have-2fa-enabled.md b/content/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/viewing-whether-users-in-your-organization-have-2fa-enabled.md index 9001f7e91dbf..3d95b440f504 100644 --- a/content/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/viewing-whether-users-in-your-organization-have-2fa-enabled.md +++ b/content/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/viewing-whether-users-in-your-organization-have-2fa-enabled.md @@ -26,7 +26,7 @@ shortTitle: View 2FA usage {% data reusables.organizations.people %} 1. To view organization members, including organization owners, who have enabled or disabled two-factor authentication, on the right, select **2FA**, then click **Enabled** or **Disabled**. {% ifversion mandatory-2fa-required-overview %}Additionally, you can view which members are required to enable two-factor authentication by clicking **Required**.

- {% indented_data_reference reusables.two_fa.mandatory-2fa-contributors-2023 spaces=3 %}{% endif %}{% ifversion mandatory-2fa-required-overview %} + {% data reusables.two_fa.mandatory-2fa-contributors-2023 %}{% endif %}{% ifversion mandatory-2fa-required-overview %} ![Screenshot of the list of organization members. A dropdown menu, labeled "2FA", is expanded and outlined in orange.](/assets/images/help/2fa/filter-org-members-by-2fa-required.png){% else %} diff --git a/content/organizations/managing-organization-settings/managing-the-publication-of-github-pages-sites-for-your-organization.md b/content/organizations/managing-organization-settings/managing-the-publication-of-github-pages-sites-for-your-organization.md index 80428226fd97..95fa9e0cc435 100644 --- a/content/organizations/managing-organization-settings/managing-the-publication-of-github-pages-sites-for-your-organization.md +++ b/content/organizations/managing-organization-settings/managing-the-publication-of-github-pages-sites-for-your-organization.md @@ -37,7 +37,7 @@ If you disallow publication of {% data variables.product.prodname_pages %} sites {% endif %} {%- ifversion fpt or ghec %} - {% indented_data_reference reusables.pages.privately-publish-ghec-only spaces=3%}{%- endif %} + {% data reusables.pages.privately-publish-ghec-only %}{%- endif %} 1. Click **Save**. diff --git a/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md b/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md index c869f228d58e..22a9a8ab3789 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md @@ -18,7 +18,7 @@ topics: - Pull requests shortTitle: Manage GitHub Actions settings --- - + {% data reusables.actions.enterprise-github-hosted-runners %} ## About {% data variables.product.prodname_actions %} permissions for your repository @@ -44,7 +44,7 @@ You can disable {% data variables.product.prodname_actions %} for a repository, {% data reusables.repositories.settings-sidebar-actions-general %} 1. Under "Actions permissions", select an option. - {% indented_data_reference reusables.actions.actions-use-policy-settings spaces=3 %} + {% data reusables.actions.actions-use-policy-settings %} 1. Click **Save**. {% data reusables.actions.allow-specific-actions-intro %} diff --git a/data/reusables/actions/configure-runner-group-access.md b/data/reusables/actions/configure-runner-group-access.md index 10d292e7dc04..2d13b1fe7056 100644 --- a/data/reusables/actions/configure-runner-group-access.md +++ b/data/reusables/actions/configure-runner-group-access.md @@ -3,7 +3,7 @@ **Warning** - {% indented_data_reference reusables.actions.self-hosted-runner-security spaces=3 %} + {% data reusables.actions.self-hosted-runner-security %} For more information, see "[AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories)."