Skip to content

Commit d9a8fa3

Browse files
author
Peter Bengtsson
authored
Remove all ifversion that has all versions (13) (#49544)
1 parent 8df4bb6 commit d9a8fa3

8 files changed

Lines changed: 3 additions & 33 deletions

File tree

content/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,8 @@ type: tutorial
2222

2323
## Creating a self-hosted runner group for an organization
2424

25-
{%- ifversion fpt or ghec or ghes %}
26-
2725
{% data reusables.actions.self-hosted-runner-security-admonition %}
2826

29-
{%- endif %}
30-
3127
{% data reusables.actions.creating-a-runner-group-for-an-organization %}
3228

3329
{% ifversion ghec or ghes %}
@@ -48,12 +44,8 @@ type: tutorial
4844

4945
## Changing which organizations can access a runner group
5046

51-
{%- ifversion fpt or ghec or ghes %}
52-
5347
{% data reusables.actions.self-hosted-runner-security-admonition %}
5448

55-
{%- endif %}
56-
5749
For runner groups in an enterprise, you can change what organizations in the enterprise can access a runner group.
5850

5951
{% 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
6355

6456
## Changing which repositories can access a runner group
6557

66-
{%- ifversion fpt or ghec or ghes %}
67-
6858
{% data reusables.actions.self-hosted-runner-security-admonition %}
6959

70-
{%- endif %}
71-
7260
For runner groups in an organization, you can change what repositories in the organization can access a runner group.
7361

7462
{% 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
7866

7967
## Changing which workflows can access a runner group
8068

81-
{%- ifversion fpt or ghec or ghes %}
82-
8369
{% data reusables.actions.self-hosted-runner-security-admonition %}
8470

85-
{%- endif %}
86-
8771
{% data reusables.actions.about-restricting-workflow-access-with-runner-groups %}
8872

8973
- [Changing which workflows can access an organization runner group](#changing-which-workflows-can-access-an-organization-runner-group)

content/actions/security-guides/security-hardening-for-github-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ SBOMs are available for Ubuntu, Windows, and macOS runner images. You can locate
305305

306306
### Denying access to hosts
307307

308-
{% 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 %}
308+
{% data reusables.actions.runners-etc-hosts-file %} For more information, see "[AUTOTITLE](/actions/using-github-hosted-runners/about-github-hosted-runners)."
309309

310310
## Hardening for self-hosted runners
311311

content/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ Generally, we name our supported ecosystems after the software programming langu
4242
- Composer (registry: https://packagist.org/){% ifversion GH-advisory-db-erlang-support %}
4343
- Erlang (registry: https://hex.pm/){% endif %}
4444
- Go (registry: https://pkg.go.dev/)
45-
{%- ifversion fpt or ghec or ghes %}
46-
- GitHub Actions (https://github.com/marketplace?type=actions/) {% endif %}
45+
- GitHub Actions (https://github.com/marketplace?type=actions/)
4746
- Maven (registry: https://repo.maven.apache.org/maven2)
4847
- npm (registry: https://www.npmjs.com/)
4948
- NuGet (registry: https://www.nuget.org/)

content/get-started/exploring-projects-on-github/contributing-to-a-project.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ This tutorial uses [the Spoon-Knife project](https://github.com/octocat/Spoon-Kn
3232
1. In the top-right corner of the page, click **Fork**.
3333

3434
![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)
35-
{%- ifversion fpt or ghec or ghes %}
3635
1. Under "Owner," select the dropdown menu and click an owner for the forked repository.
3736
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.
3837
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
4645
**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)."
4746

4847
{% endnote %}
49-
{% endif %}
5048

5149
## Cloning a fork
5250

content/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,17 @@ You might fork a project to propose changes to the upstream repository. In this
5656
1. In the top-right corner of the page, click **Fork**.
5757

5858
![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)
59-
{%- ifversion fpt or ghec or ghes %}
6059
1. Under "Owner," select the dropdown menu and click an owner for the forked repository.
6160
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.
6261
1. Optionally, in the "Description" field, type a description of your fork.
63-
{%- ifversion fpt or ghec or ghes %}
6462
1. Optionally, select **Copy the DEFAULT branch only**.
6563

6664
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.
67-
{%- endif %}
6865
1. Click **Create fork**.
6966

7067
{% note %}
7168

72-
**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 %}
69+
**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 %}
7370

7471
{% endwebui %}
7572

content/search-github/searching-on-github/searching-commits.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ The `is` qualifier matches commits from repositories with the specified visibili
105105

106106
| Qualifier | Example
107107
| ------------- | ------------- |
108-
{%- ifversion fpt or ghes or ghec %}
109108
| `is:public` | [**is:public**](https://github.com/search?q=is%3Apublic&type=Commits) matches commits to public repositories.
110-
{%- endif %}
111109
{%- ifversion ghes or ghec %}
112110
| `is:internal` | [**is:internal**](https://github.com/search?q=is%3Ainternal&type=Commits) matches commits to internal repositories.
113111
{%- endif %}

data/reusables/audit_log/audit-log-action-categories.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@
4242
| `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)."
4343
| `dependabot_alerts_new_repos` | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_alerts %} in new repositories created in the organization.
4444
| `dependabot_repository_access` | Contains activities related to which private repositories in an organization {% data variables.product.prodname_dependabot %} is allowed to access.
45-
{%- ifversion fpt or ghec or ghes %}
4645
| `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)."
4746
| `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.
48-
{%- endif %}
4947
| `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)."
5048
| `dependency_graph_new_repos` | Contains organization-level configuration activities for new repositories created in the organization.
5149
{%- ifversion ghec or ghes %}
@@ -100,10 +98,8 @@
10098
| `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)."
10199
{%- endif %}
102100
| `organization_default_label` | Contains activities related to default labels for repositories in an organization.
103-
{%- ifversion fpt or ghec or ghes %}
104101
| `organization_domain` | Contains activities related to verified organization domains.
105102
| `organization_projects_change` | Contains activities related to organization-wide {% data variables.projects.projects_v1_boards %} in an enterprise.
106-
{%- endif %}
107103
{%- ifversion fpt or ghec %}
108104
| `pages_protected_domain` | Contains activities related to verified custom domains for {% data variables.product.prodname_pages %}.
109105
| `payment_method` | Contains activities related to how an organization pays for {% data variables.product.prodname_dotcom %}.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{%- ifversion fpt or ghec or ghes %}
21
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)."
3-
{%- endif %}

0 commit comments

Comments
 (0)