Skip to content

Commit 49205b4

Browse files
authored
Hack week 2025: remove unneeded FBV instances (21) (#54014)
1 parent 615b34e commit 49205b4

File tree

19 files changed

+19
-67
lines changed

19 files changed

+19
-67
lines changed

content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/re-running-workflows-and-jobs.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Re-running workflows and jobs
33
shortTitle: Re-run workflows and jobs
4-
intro: 'You can re-run a workflow run{% ifversion re-run-jobs %}, all failed jobs in a workflow run, or specific jobs in a workflow run{% endif %} up to 30 days after its initial run.'
4+
intro: 'You can re-run a workflow run, all failed jobs in a workflow run, or specific jobs in a workflow run up to 30 days after its initial run.'
55
permissions: People with write permissions to a repository can re-run workflows in the repository.
66
redirect_from:
77
- /actions/managing-workflow-runs/re-running-a-workflow
@@ -16,7 +16,7 @@ versions:
1616

1717
## About re-running workflows and jobs
1818

19-
Re-running a workflow{% ifversion re-run-jobs %} or jobs in a workflow{% endif %} uses the same `GITHUB_SHA` (commit SHA) and `GITHUB_REF` (Git ref) of the original event that triggered the workflow run. The workflow will use the privileges of the actor who initially triggered the workflow, not the privileges of the actor who initiated the re-run. You can re-run a workflow{% ifversion re-run-jobs %} or jobs in a workflow{% endif %} for up to 30 days after the initial run.{% ifversion re-run-jobs %} You cannot re-run jobs in a workflow once its logs have passed their retention limits. For more information, see [AUTOTITLE](/actions/learn-github-actions/usage-limits-billing-and-administration#artifact-and-log-retention-policy).{% endif %} When you re-run a workflow or jobs in a workflow, you can enable debug logging for the re-run. This will enable runner diagnostic logging and step debug logging for the re-run. For more information about debug logging, see [AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging).
19+
Re-running a workflow or jobs in a workflow uses the same `GITHUB_SHA` (commit SHA) and `GITHUB_REF` (Git ref) of the original event that triggered the workflow run. The workflow will use the privileges of the actor who initially triggered the workflow, not the privileges of the actor who initiated the re-run. You can re-run a workflow or jobs in a workflow for up to 30 days after the initial run. You cannot re-run jobs in a workflow once its logs have passed their retention limits. For more information, see [AUTOTITLE](/actions/learn-github-actions/usage-limits-billing-and-administration#artifact-and-log-retention-policy). When you re-run a workflow or jobs in a workflow, you can enable debug logging for the re-run. This will enable runner diagnostic logging and step debug logging for the re-run. For more information about debug logging, see [AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging)
2020

2121
## Re-running all the jobs in a workflow
2222

@@ -60,8 +60,6 @@ gh run watch
6060

6161
{% endcli %}
6262

63-
{% ifversion re-run-jobs %}
64-
6563
## Re-running failed jobs in a workflow
6664

6765
If any jobs in a workflow run failed, you can re-run just the jobs that failed. When you re-run failed jobs in a workflow, a new workflow run will start for all failed jobs and their dependents. Any outputs for any successful jobs in the previous workflow run will be used for the re-run. Any artifacts that were created in the initial run will be available in the re-run. Any deployment protection rules that passed in the previous run will automatically pass in the re-run.
@@ -125,8 +123,6 @@ gh run rerun --job JOB_ID --debug
125123

126124
{% endcli %}
127125

128-
{% endif %}
129-
130126
{% ifversion partial-reruns-with-reusable %}
131127

132128
## Re-running workflows and jobs with reusable workflows
@@ -143,8 +139,4 @@ You can view the results from your previous attempts at running a workflow. You
143139
{% data reusables.repositories.actions-tab %}
144140
{% data reusables.repositories.navigate-to-workflow %}
145141
{% data reusables.repositories.view-run %}
146-
{%- ifversion re-run-jobs %}
147142
1. To the right of the run name, select the **Latest** dropdown menu and click a previous run attempt.
148-
{%- else %}
149-
1. In the left pane, click a previous run attempt.
150-
{%- endif %}

content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-workflow-run-logs.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ versions:
1010
ghes: '*'
1111
ghec: '*'
1212
---
13-
13+
1414
{% data reusables.actions.enterprise-github-hosted-runners %}
1515

1616
You can see whether a workflow run is in progress or complete from the workflow run page. You must be logged in to a {% data variables.product.prodname_dotcom %} account to view workflow run information, including for public repositories. For more information, see [AUTOTITLE](/get-started/learning-about-github/access-permissions-on-github).
@@ -61,13 +61,9 @@ You can download the log files from your workflow run. You can also download a w
6161

6262
![Screenshot of the log for a job. In the header, a gear icon is outlined in dark orange.](/assets/images/help/actions/download-logs-drop-down.png)
6363

64-
{% ifversion re-run-jobs %}
65-
6664
> [!NOTE]
6765
> When you download the log archive for a workflow that was partially re-run, the archive only includes the jobs that were re-run. To get a complete set of logs for jobs that were run from a workflow, you must download the log archives for the previous run attempts that ran the other jobs.
6866
69-
{% endif %}
70-
7167
## Deleting logs
7268

7369
You can delete the log files from your workflow runs through the {% data variables.product.prodname_dotcom %} web interface or programmatically. {% data reusables.repositories.permissions-statement-write %}

content/admin/configuring-settings/configuring-user-applications-for-your-enterprise/configuring-email-for-notifications.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ settings to allow incoming emails](#configuring-dns-and-firewall-settings-to-all
5252
1. When the test email succeeds, under the "Settings" sidebar, click **Save settings**.
5353
{% data reusables.enterprise_site_admin_settings.wait-for-configuration-run %}
5454

55-
{% ifversion require-tls-for-smtp %}
56-
5755
## Enforcing TLS for SMTP connections
5856

5957
You can enforce TLS encryption for all incoming SMTP connections, which can help satisfy an ISO-27017 certification requirement.
@@ -63,7 +61,6 @@ You can enforce TLS encryption for all incoming SMTP connections, which can help
6361

6462
![Screenshot of the "Email" section of the Management Console. A checkbox, labeled "Enforce TLS auth (recommended)", is outlined in dark orange.](/assets/images/enterprise/configuration/enforce-tls-for-smtp-checkbox.png)
6563
{% data reusables.enterprise_management_console.save-settings %}
66-
{% endif %}
6764

6865
## Configuring DNS and firewall settings to allow incoming emails
6966

content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/using-the-audit-log-api-for-your-enterprise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For more information about the specific events that you can access via the audit
3030

3131
Timestamps and date fields in the API response are measured in [UTC epoch milliseconds](https://en.wikipedia.org/wiki/Unix_time).
3232

33-
{% ifversion read-audit-scope %}You can use the `read:audit_log` scope to access the audit log via the API.{% endif %}
33+
You can use the `read:audit_log` scope to access the audit log via the API.
3434

3535
{% ifversion ghec %}
3636

content/admin/monitoring-and-managing-your-instance/configuring-high-availability/monitoring-a-high-availability-configuration.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ redirect_from:
2020

2121
{% data reusables.enterprise.about-ha %} For more information, see [AUTOTITLE](/admin/enterprise-management/configuring-high-availability/about-high-availability-configuration).
2222

23-
After you configure high availability, you can proactively ensure redundancy by monitoring the overall health of replication and the status of each of your instance's replica nodes. You can use command-line utilities on the instance, an overview dashboard, {% ifversion replication-management-api %}the instance's REST API, {% endif %}or a remote monitoring system such as Nagios.
23+
After you configure high availability, you can proactively ensure redundancy by monitoring the overall health of replication and the status of each of your instance's replica nodes. You can use command-line utilities on the instance, an overview dashboard, the instance's REST API, or a remote monitoring system such as Nagios.
2424

2525
With high availability, your instance uses several approaches to replicate data between primary and replica nodes. Database services that support a native replication mechanism, such as MySQL, replicate using the service's native mechanism. Other services, such as Git repositories, replicate using a custom mechanism developed for {% data variables.product.product_name %}, or using platform tools like rsync.
2626

@@ -40,14 +40,10 @@ You can monitor replication status on your instance using the `gh es` extension
4040

4141
{% endif %}
4242

43-
{% ifversion replication-management-api %}
44-
4543
## Monitoring replication using the REST API
4644

4745
You can monitor replication status on your instance using the REST API. For more information, see [Manage {% data variables.product.product_name %}](/rest/enterprise-admin/manage-ghes#list-the-status-of-services-running-on-all-replica-nodes) in the REST API documentation.
4846

49-
{% endif %}
50-
5147
## Monitoring replication from a remote system
5248

5349
Output from the `ghe-repl-status` command-line utility conforms to the expectations of Nagios' check_by_ssh plugin. For more information, see [AUTOTITLE](/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-repl-status).

content/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ Name | Description
8181
**`admin:enterprise`** | Gives full control of enterprise functionality. For more information, see [AUTOTITLE](/graphql/guides/managing-enterprise-accounts) in the GraphQL API documentation.<br><br>Includes `manage_runners:enterprise`{% ifversion ghec or ghes %}, `manage_billing:enterprise`,{% endif %} and `read:enterprise`.
8282
&emsp;`manage_runners:enterprise` | Gives full control over self-hosted runners within the enterprise. For more information, see [AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners). {% ifversion ghec or ghes %}
8383
&emsp;`manage_billing:enterprise` | Read and write enterprise billing data. For more information, see [AUTOTITLE](/rest/billing). {% endif %}
84-
&emsp;`read:enterprise` | Read all data on an enterprise profile. Does not include profile data of enterprise members or organizations.{% endif %}{% ifversion read-audit-scope %}
85-
**`read:audit_log`** | Read audit log data.{% endif %}
84+
&emsp;`read:enterprise` | Read all data on an enterprise profile. Does not include profile data of enterprise members or organizations.{% endif %}
85+
**`read:audit_log`** | Read audit log data.
8686

8787
> [!NOTE]
8888
> Your {% data variables.product.prodname_oauth_app %} can request the scopes in the initial redirection. You can specify multiple scopes by separating them with a space using `%20`:

content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Organizations that use {% data variables.product.prodname_ghe_cloud %} can inter
201201

202202
{% else %}
203203

204-
You can interact with the audit log using the GraphQL API{% ifversion fpt or ghec %} or the REST API{% endif %}.{% ifversion read-audit-scope %} You can use the `read:audit_log` scope to access the audit log via the APIs.{% endif %}
204+
You can interact with the audit log using the GraphQL API{% ifversion fpt or ghec %} or the REST API{% endif %}. You can use the `read:audit_log` scope to access the audit log via the APIs.
205205

206206
{% ifversion ghec %}
207207

content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/approving-a-pull-request-with-required-reviews.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can comment on a pull request, approve the changes, or request improvements
2626
{% data reusables.repositories.sidebar-pr %}
2727
{% data reusables.repositories.choose-pr-review %}
2828
{% data reusables.repositories.changed-files %}
29-
1. Review the changes in the pull request, and optionally, comment on specific lines{% ifversion pull-request-comment-on-file %} or files{% endif %}. For more information, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request#starting-a-review).
29+
1. Review the changes in the pull request, and optionally, comment on specific lines or files. For more information, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request#starting-a-review).
3030
{% data reusables.repositories.review-changes %}
3131
{% data reusables.repositories.review-summary-comment %}
3232
1. Select **Approve** to approve merging the changes proposed in the pull request.

content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ shortTitle: Comment on a PR
2121

2222
You can comment on a pull request's **Conversation** tab to leave general comments, questions, or props. You can also suggest changes that the author of the pull request can apply directly from your comment.
2323

24-
You can also comment on specific {% ifversion pull-request-comment-on-file %}files or {% endif %}sections of a file in a pull request's **Files changed** tab in the form of individual line {% ifversion pull-request-comment-on-file %}or file {% endif %}comments, or as part of a pull request review. Adding line {% ifversion pull-request-comment-on-file %}or file {% endif %}comments is a great way to discuss questions about implementation or provide feedback to the author. For more information about pull request reviews, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).
24+
You can also comment on specific files or sections of a file in a pull request's **Files changed** tab in the form of individual line or file comments, or as part of a pull request review. Adding line or file comments is a great way to discuss questions about implementation or provide feedback to the author. For more information about pull request reviews, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).
2525

26-
For more information on adding line {% ifversion pull-request-comment-on-file %}or file {% endif %}comments to a pull request review, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request).
26+
For more information on adding line or file comments to a pull request review, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request).
2727

2828
> [!NOTE]
2929
> If you reply to a pull request via email, your comment will be added on the **Conversation** tab and will not be part of a pull request review.
3030
31-
To reply to an existing line {% ifversion pull-request-comment-on-file %}or file {% endif %}comment, you'll need to navigate to the comment on either the **Conversation** tab or **Files changed** tab and add an additional comment below it.
31+
To reply to an existing line or file comment, you'll need to navigate to the comment on either the **Conversation** tab or **Files changed** tab and add an additional comment below it.
3232

3333
> [!TIP]
3434
> * Pull request comments support the same [formatting](/get-started/writing-on-github) as regular comments on {% data variables.product.github %}, such as @mentions, emoji, and references.
@@ -43,8 +43,7 @@ To reply to an existing line {% ifversion pull-request-comment-on-file %}or file
4343
{% data reusables.repositories.multiple-lines-comment %}
4444
{% data reusables.repositories.type-line-comment %}
4545
{% data reusables.repositories.suggest-changes %}
46-
{% ifversion pull-request-comment-on-file %}
47-
{% data reusables.repositories.start-file-comment %}{% endif %}
46+
{% data reusables.repositories.start-file-comment %}
4847
1. When you're done, click **Add single comment**.
4948

5049
Anyone watching the pull request or repository will receive a notification of your comment.

content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ You can change the format of the diff view in this tab by clicking {% octicon "g
4040
{% data reusables.repositories.multiple-lines-comment %}
4141
{% data reusables.repositories.type-line-comment %}
4242
{% data reusables.repositories.suggest-changes %}
43-
{% ifversion pull-request-comment-on-file %}
44-
{% data reusables.repositories.start-file-comment %}{% endif %}
43+
{% data reusables.repositories.start-file-comment %}
4544
1. When you're done, click **Start a review**. If you have already started a review, you can click **Add review comment**.
4645

4746
Before you submit your review, your line comments are _pending_ and only visible to you. You can edit pending comments anytime before you submit your review. To cancel a pending review, including all of its pending comments, click **Review changes** above the changed code, then click **Abandon review**.

0 commit comments

Comments
 (0)