Skip to content

Commit ba09681

Browse files
authored
Hack week 2025: remove unneeded FBV instances (9) - Discussions (#53946)
1 parent 648bb38 commit ba09681

File tree

31 files changed

+89
-110
lines changed

31 files changed

+89
-110
lines changed

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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 %}{% ifversion debug-reruns %} 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).{% endif %}
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).
2020

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

@@ -46,15 +46,12 @@ To re-run a failed workflow run, use the `run rerun` subcommand. Replace `run-id
4646
gh run rerun RUN_ID
4747
```
4848

49-
{% ifversion debug-reruns %}
5049
{% data reusables.actions.enable-debug-logging-cli %}
5150

5251
```shell
5352
gh run rerun RUN_ID --debug
5453
```
5554

56-
{% endif %}
57-
5855
To view the progress of the workflow run, use the `run watch` subcommand and select the run from the interactive list.
5956

6057
```shell
@@ -88,14 +85,12 @@ To re-run failed jobs in a workflow run, use the `run rerun` subcommand with the
8885
gh run rerun RUN_ID --failed
8986
```
9087

91-
{% ifversion debug-reruns %}
9288
{% data reusables.actions.enable-debug-logging-cli %}
9389

9490
```shell
9591
gh run rerun RUN_ID --failed --debug
9692
```
9793

98-
{% endif %}
9994
{% endcli %}
10095

10196
## Re-running a specific job in a workflow
@@ -122,14 +117,12 @@ To re-run a specific job in a workflow run, use the `run rerun` subcommand with
122117
gh run rerun --job JOB_ID
123118
```
124119

125-
{% ifversion debug-reruns %}
126120
{% data reusables.actions.enable-debug-logging-cli %}
127121

128122
```shell
129123
gh run rerun --job JOB_ID --debug
130124
```
131125

132-
{% endif %}
133126
{% endcli %}
134127

135128
{% endif %}

content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,8 @@ These extra logs are enabled by setting secrets or variables in the repository c
2121

2222
For more information on setting secrets and variables, see [AUTOTITLE](/actions/security-guides/using-secrets-in-github-actions) and [AUTOTITLE](/actions/learn-github-actions/variables).
2323

24-
{% ifversion debug-reruns %}
25-
2624
Additionally, anyone who has access to run a workflow can enable runner diagnostic logging and step debug logging for a workflow re-run. For more information, see [AUTOTITLE](/actions/managing-workflow-runs/re-running-workflows-and-jobs).
2725

28-
{% endif %}
29-
3026
## Enabling runner diagnostic logging
3127

3228
Runner diagnostic logging provides additional log files that contain information about how a runner is executing a job. Two extra log files are added to the log archive:

content/authentication/keeping-your-account-and-data-secure/viewing-and-managing-your-sessions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: Viewing and managing your sessions
33
intro: You can view and revoke your active sessions in your settings.
44
versions:
5-
feature: device-and-settings-management-page
5+
fpt: '*'
6+
ghec: '*'
7+
ghes: '*'
8+
69
type: how_to
710
topics:
811
- SSO

content/discussions/collaborating-with-your-community-using-discussions/about-discussions.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: About discussions
33
intro: 'Use discussions to ask and answer questions, share information, make announcements, and conduct or participate in a conversation about a project on {% data variables.product.product_name %}.'
44
versions:
5-
feature: discussions
5+
fpt: '*'
6+
ghes: '*'
7+
ghec: '*'
68
---
79

810

@@ -20,7 +22,7 @@ With {% data variables.product.prodname_discussions %}, the community for your p
2022

2123
You might use repository discussions to discuss topics that are specific to the repository. If your project spans multiple repositories, you might use organization discussions to discuss topics that aren't specific to a single repository in your organization.
2224

23-
{% ifversion discussions-closable %}{% data reusables.discussions.closing-discussions %} For more information, see [Closing a discussion](/discussions/managing-discussions-for-your-community/managing-discussions#closing-a-discussion).{% else %}You don't need to close a discussion like you close an issue or a pull request.{% endif %}
25+
{% data reusables.discussions.closing-discussions %} For more information, see [Closing a discussion](/discussions/managing-discussions-for-your-community/managing-discussions#closing-a-discussion).
2426

2527
If a repository administrator or project maintainer enables {% data variables.product.prodname_discussions %} for a repository, anyone who has access to the repository can create and participate in discussions for the repository. If an organization owner enables {% data variables.product.prodname_discussions %} for an organization, anyone who can view the source repository can create an organization discussion.
2628

@@ -40,16 +42,15 @@ For more information on creating polls, see [AUTOTITLE](/discussions/collaborati
4042

4143
## About discussion organization
4244

43-
You can organize discussions with categories{% ifversion discussions-category-section %}, sections, {% endif %} and labels.
45+
You can organize discussions with categories, sections, and labels.
4446

4547
{% data reusables.discussions.you-can-categorize-discussions %} {% data reusables.discussions.about-categories-and-formats %} {% data reusables.discussions.repository-category-limit %}
4648

4749
For discussions with a question/answer format, an individual comment within the discussion can be marked as the discussion's answer. {% data reusables.discussions.github-recognizes-members %}
4850

4951
{% data reusables.discussions.about-announcement-format %}
5052

51-
{% ifversion discussions-category-section %}
52-
{% data reusables.discussions.category-sections %}{% endif %}
53+
{% data reusables.discussions.category-sections %}
5354

5455
For more information, see [AUTOTITLE](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions).
5556

content/discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ shortTitle: Collaborating with maintainers
44
intro: 'You can contribute to the goals, plans, health, and community for a project on {% data variables.product.product_name %} by communicating with the maintainers of the project in a discussion.'
55
permissions: 'People with read access to a repository can start and participate in discussions and polls in the repository. People with read access to the source repository for organization discussions can start and participate in discussions and polls in the organization. {% data reusables.enterprise-accounts.emu-permission-interact %}'
66
versions:
7-
feature: discussions
7+
fpt: '*'
8+
ghes: '*'
9+
ghec: '*'
810
---
911

1012

content/discussions/collaborating-with-your-community-using-discussions/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ title: Collaborating with your community using discussions
33
shortTitle: Collaborating using discussions
44
intro: Gather and discuss your project with community members and other maintainers.
55
versions:
6-
feature: discussions
6+
fpt: '*'
7+
ghes: '*'
8+
ghec: '*'
79
children:
810
- /about-discussions
911
- /participating-in-a-discussion
1012
- /collaborating-with-maintainers-using-discussions
1113
---
12-

content/discussions/collaborating-with-your-community-using-discussions/participating-in-a-discussion.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ title: Participating in a discussion
33
intro: 'You can converse with the community and maintainers in a forum within the repository for a project on {% data variables.product.product_name %}.'
44
permissions: 'People with read access to a repository can participate in discussions and polls in the repository. People with read access to the source repository for organization discussions can participate in discussions and polls in that organization. {% data reusables.enterprise-accounts.emu-permission-interact %}'
55
versions:
6-
feature: discussions
6+
fpt: '*'
7+
ghes: '*'
8+
ghec: '*'
79
shortTitle: Participate in discussion
810
---
911

content/discussions/guides/best-practices-for-community-conversations-on-github.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ title: Best practices for community conversations on GitHub
33
shortTitle: Best practices for community conversations
44
intro: 'You can use discussions to brainstorm with your team, and eventually move the conversation to an issue when you are ready to scope out the work.'
55
versions:
6-
feature: discussions
6+
fpt: '*'
7+
ghes: '*'
8+
ghec: '*'
79
---
810

911

content/discussions/guides/finding-your-discussions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: Finding your discussions
33
intro: You can easily access every discussion you've created or participated in.
44
versions:
5-
feature: discussions
5+
fpt: '*'
6+
ghes: '*'
7+
ghec: '*'
68
shortTitle: Find discussions
79
redirect_from:
810
- /discussions/guides/finding-discussions-across-multiple-repositories

content/discussions/guides/granting-higher-permissions-to-top-contributors.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: Granting higher permissions to top contributors
33
intro: Repository administrators can promote any community member to a moderator and maintainer.
44
versions:
5-
feature: discussions
5+
fpt: '*'
6+
ghes: '*'
7+
ghec: '*'
68
shortTitle: Grant higher permissions
79
---
810

0 commit comments

Comments
 (0)