diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups.md b/content/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups.md index 50446b904b..a3ada6c33d 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups.md +++ b/content/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups.md @@ -22,12 +22,8 @@ type: tutorial ## Creating a self-hosted runner group for an organization -{%- ifversion fpt or ghec or ghes %} - {% data reusables.actions.self-hosted-runner-security-admonition %} -{%- endif %} - {% data reusables.actions.creating-a-runner-group-for-an-organization %} {% ifversion ghec or ghes %} @@ -48,12 +44,8 @@ type: tutorial ## Changing which organizations can access a runner group -{%- ifversion fpt or ghec or ghes %} - {% data reusables.actions.self-hosted-runner-security-admonition %} -{%- endif %} - For runner groups in an enterprise, you can change what organizations in the enterprise can access a runner group. {% data reusables.actions.runner-groups-enterprise-navigation %} @@ -63,12 +55,8 @@ For runner groups in an enterprise, you can change what organizations in the ent ## Changing which repositories can access a runner group -{%- ifversion fpt or ghec or ghes %} - {% data reusables.actions.self-hosted-runner-security-admonition %} -{%- endif %} - For runner groups in an organization, you can change what repositories in the organization can access a runner group. {% data reusables.actions.runner-groups-org-navigation %} @@ -78,12 +66,8 @@ For runner groups in an organization, you can change what repositories in the or ## Changing which workflows can access a runner group -{%- ifversion fpt or ghec or ghes %} - {% data reusables.actions.self-hosted-runner-security-admonition %} -{%- endif %} - {% data reusables.actions.about-restricting-workflow-access-with-runner-groups %} - [Changing which workflows can access an organization runner group](#changing-which-workflows-can-access-an-organization-runner-group) diff --git a/content/actions/security-guides/security-hardening-for-github-actions.md b/content/actions/security-guides/security-hardening-for-github-actions.md index b1e2e4543a..fe8d745763 100644 --- a/content/actions/security-guides/security-hardening-for-github-actions.md +++ b/content/actions/security-guides/security-hardening-for-github-actions.md @@ -305,7 +305,7 @@ SBOMs are available for Ubuntu, Windows, and macOS runner images. You can locate ### Denying access to hosts -{% data reusables.actions.runners-etc-hosts-file %}{%ifversion fpt or ghec or ghes %} For more information, see "[AUTOTITLE](/actions/using-github-hosted-runners/about-github-hosted-runners)."{% endif %} +{% data reusables.actions.runners-etc-hosts-file %} For more information, see "[AUTOTITLE](/actions/using-github-hosted-runners/about-github-hosted-runners)." ## Hardening for self-hosted runners diff --git a/content/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database.md b/content/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database.md index fcc02e43c0..31ea4e0ce9 100644 --- a/content/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database.md +++ b/content/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database.md @@ -42,8 +42,7 @@ Generally, we name our supported ecosystems after the software programming langu - Composer (registry: https://packagist.org/){% ifversion GH-advisory-db-erlang-support %} - Erlang (registry: https://hex.pm/){% endif %} - Go (registry: https://pkg.go.dev/) -{%- ifversion fpt or ghec or ghes %} -- GitHub Actions (https://github.com/marketplace?type=actions/) {% endif %} +- GitHub Actions (https://github.com/marketplace?type=actions/) - Maven (registry: https://repo.maven.apache.org/maven2) - npm (registry: https://www.npmjs.com/) - NuGet (registry: https://www.nuget.org/) diff --git a/content/get-started/exploring-projects-on-github/contributing-to-a-project.md b/content/get-started/exploring-projects-on-github/contributing-to-a-project.md index f7c5afe1a0..c85c014621 100644 --- a/content/get-started/exploring-projects-on-github/contributing-to-a-project.md +++ b/content/get-started/exploring-projects-on-github/contributing-to-a-project.md @@ -32,7 +32,6 @@ This tutorial uses [the Spoon-Knife project](https://github.com/octocat/Spoon-Kn 1. In the top-right corner of the page, click **Fork**. ![Screenshot of the main page of repository. A button, labeled with a fork icon and "Fork 59.3k," is outlined in dark orange.](/assets/images/help/repository/fork-button.png) -{%- ifversion fpt or ghec or ghes %} 1. Under "Owner," select the dropdown menu and click an owner for the forked repository. 1. By default, forks are named the same as their upstream repositories. Optionally, to further distinguish your fork, in the "Repository name" field, type a name. 1. Optionally, in the "Description" field, type a description of your fork. @@ -46,7 +45,6 @@ This tutorial uses [the Spoon-Knife project](https://github.com/octocat/Spoon-Kn **Note:** If you want to copy additional branches from the upstream repository, you can do so from the **Branches** page. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository)." {% endnote %} -{% endif %} ## Cloning a fork diff --git a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo.md b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo.md index 573399ed1b..598e9299a1 100644 --- a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo.md +++ b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo.md @@ -56,20 +56,17 @@ You might fork a project to propose changes to the upstream repository. In this 1. In the top-right corner of the page, click **Fork**. ![Screenshot of the main page of repository. A button, labeled with a fork icon and "Fork 59.3k," is outlined in dark orange.](/assets/images/help/repository/fork-button.png) -{%- ifversion fpt or ghec or ghes %} 1. Under "Owner," select the dropdown menu and click an owner for the forked repository. 1. By default, forks are named the same as their upstream repositories. Optionally, to further distinguish your fork, in the "Repository name" field, type a name. 1. Optionally, in the "Description" field, type a description of your fork. -{%- ifversion fpt or ghec or ghes %} 1. Optionally, select **Copy the DEFAULT branch only**. For many forking scenarios, such as contributing to open-source projects, you only need to copy the default branch. If you do not select this option, all branches will be copied into the new fork. -{%- endif %} 1. Click **Create fork**. {% note %} -**Note:** If you want to copy additional branches from the upstream repository, you can do so from the **Branches** page. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository)."{% endnote %}{% endif %} +**Note:** If you want to copy additional branches from the upstream repository, you can do so from the **Branches** page. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository)."{% endnote %} {% endwebui %} diff --git a/content/search-github/searching-on-github/searching-commits.md b/content/search-github/searching-on-github/searching-commits.md index 5a135735fd..d5172df03f 100644 --- a/content/search-github/searching-on-github/searching-commits.md +++ b/content/search-github/searching-on-github/searching-commits.md @@ -105,9 +105,7 @@ The `is` qualifier matches commits from repositories with the specified visibili | Qualifier | Example | ------------- | ------------- | -{%- ifversion fpt or ghes or ghec %} | `is:public` | [**is:public**](https://github.com/search?q=is%3Apublic&type=Commits) matches commits to public repositories. -{%- endif %} {%- ifversion ghes or ghec %} | `is:internal` | [**is:internal**](https://github.com/search?q=is%3Ainternal&type=Commits) matches commits to internal repositories. {%- endif %} diff --git a/data/reusables/audit_log/audit-log-action-categories.md b/data/reusables/audit_log/audit-log-action-categories.md index 50ba218c30..0eef517163 100644 --- a/data/reusables/audit_log/audit-log-action-categories.md +++ b/data/reusables/audit_log/audit-log-action-categories.md @@ -42,10 +42,8 @@ | `dependabot_alerts` | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_alerts %} in existing repositories. For more information, see "[AUTOTITLE](/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." | `dependabot_alerts_new_repos` | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_alerts %} in new repositories created in the organization. | `dependabot_repository_access` | Contains activities related to which private repositories in an organization {% data variables.product.prodname_dependabot %} is allowed to access. -{%- ifversion fpt or ghec or ghes %} | `dependabot_security_updates` | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_security_updates %} in existing repositories. For more information, see "[AUTOTITLE](/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates)." | `dependabot_security_updates_new_repos` | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_security_updates %} for new repositories created in the organization. -{%- endif %} | `dependency_graph` | Contains organization-level configuration activities for dependency graphs for repositories. For more information, see "[AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph)." | `dependency_graph_new_repos` | Contains organization-level configuration activities for new repositories created in the organization. {%- ifversion ghec or ghes %} @@ -100,10 +98,8 @@ | `org_secret_scanning_custom_pattern` | Contains activities related to custom patterns for {% data variables.product.prodname_secret_scanning %} in an organization. For more information, see "[AUTOTITLE](/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning)." {%- endif %} | `organization_default_label` | Contains activities related to default labels for repositories in an organization. -{%- ifversion fpt or ghec or ghes %} | `organization_domain` | Contains activities related to verified organization domains. | `organization_projects_change` | Contains activities related to organization-wide {% data variables.projects.projects_v1_boards %} in an enterprise. -{%- endif %} {%- ifversion fpt or ghec %} | `pages_protected_domain` | Contains activities related to verified custom domains for {% data variables.product.prodname_pages %}. | `payment_method` | Contains activities related to how an organization pays for {% data variables.product.prodname_dotcom %}. diff --git a/data/reusables/user-settings/sudo-mode-popup.md b/data/reusables/user-settings/sudo-mode-popup.md index e9806102d0..b36b47448c 100644 --- a/data/reusables/user-settings/sudo-mode-popup.md +++ b/data/reusables/user-settings/sudo-mode-popup.md @@ -1,3 +1 @@ -{%- ifversion fpt or ghec or ghes %} 1. If prompted, confirm access to your account on {% data variables.product.product_name %}. For more information, see "[AUTOTITLE](/authentication/keeping-your-account-and-data-secure/sudo-mode)." -{%- endif %}