Skip to content

Commit c2c6344

Browse files
authored
Merge pull request #33699 from github/repo-sync
Repo sync
2 parents 22f3389 + 63fc83b commit c2c6344

File tree

15 files changed

+135
-40
lines changed

15 files changed

+135
-40
lines changed

content/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ The following operating systems are supported for the self-hosted runner applica
117117
The following processor architectures are supported for the self-hosted runner application.
118118

119119
* `x64` - Linux, macOS, Windows.
120-
* `ARM64` - Linux{% ifversion actions-macos-arm %}, macOS{% endif %}{% ifversion actions-windows-arm %}, Windows (currently in beta){% endif %}.
120+
* `ARM64` - Linux, macOS{% ifversion actions-windows-arm %}, Windows (currently in beta){% endif %}.
121121
* `ARM32` - Linux.
122122

123123
{% ifversion ghes %}

content/actions/security-guides/automatic-token-authentication.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ The following table shows the permissions granted to the `GITHUB_TOKEN` by defau
8888
| checks | read/write | none | read |
8989
| contents | read/write | read | read |
9090
| deployments | read/write | none | read |
91+
| discussions | read/write | none | read |
9192
| {% ifversion fpt or ghec %} |
9293
| id-token | none | none | read |
9394
| {% endif %} |

content/actions/using-workflows/workflow-commands-for-github-actions.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,6 @@ This example demonstrates how to set the `SELECTED_COLOR` output parameter and l
813813

814814
{% endpowershell %}
815815

816-
{% ifversion actions-job-summaries %}
817-
818816
## Adding a job summary
819817

820818
{% bash %}
@@ -955,8 +953,6 @@ After a step has completed, job summaries are uploaded and subsequent steps cann
955953

956954
Job summaries are isolated between steps and each step is restricted to a maximum size of 1MiB. Isolation is enforced between steps so that potentially malformed Markdown from a single step cannot break Markdown rendering for subsequent steps. If more than 1MiB of content is added for a step, then the upload for the step will fail and an error annotation will be created. Upload failures for job summaries do not affect the overall status of a step or a job. A maximum of 20 job summaries from steps are displayed per job.
957955

958-
{% endif %}
959-
960956
## Adding a system path
961957

962958
Prepends a directory to the system `PATH` variable and automatically makes it available to all subsequent actions in the current job; the currently running action cannot access the updated path variable. To see the currently defined paths for your job, you can use `echo "$PATH"` in a step or an action.

content/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: Adding items automatically
33
intro: 'You can configure your project''s built-in workflows to automatically add items from {% ifversion projects-v2-duplicate-auto-add %}repositories{% else%}a repository{% endif %} that match a filter.'
44
versions:
5-
feature: projects-v2-auto-add
5+
fpt: '*'
6+
ghes: '*'
7+
ghec: '*'
68
type: tutorial
79
topics:
810
- Projects

content/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ title: Archiving items automatically
33
shortTitle: Archiving items automatically
44
intro: You can configure your project's built-in workflows to automatically archive items that match a filter.
55
versions:
6-
feature: projects-v2-auto-archive
6+
fpt: '*'
7+
ghes: '*'
8+
ghec: '*'
79
type: tutorial
810
topics:
911
- Projects

content/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To learn more about the different fields you can add to a project, see "[AUTOTIT
3939

4040
### Automating your projects
4141

42-
There are a number of ways you can add automation to your project. Built-in workflows allow you to automatically set fields when items are added or changed{% ifversion projects-v2-auto-archive %}, and you can also configure your project to automatically archive items when they meet certain criteria{% ifversion projects-v2-auto-add %} and automatically add items from a repository when they match set criteria{% endif %}{% endif %}. For more information, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations)."
42+
There are a number of ways you can add automation to your project. Built-in workflows allow you to automatically set fields when items are added or changed, and you can also configure your project to automatically archive items when they meet certain criteria and automatically add items from a repository when they match set criteria. For more information, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations)."
4343

4444
You can also use the GraphQL API and {% data variables.product.prodname_actions %} to take even greater control of your project. For more information, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects)" and "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions)."
4545

content/issues/planning-and-tracking-with-projects/learning-about-projects/best-practices-for-projects.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ To prevent information from getting out of sync, maintain a single source of tru
6565

6666
You can automate tasks to spend less time on busy work and more time on the project itself. The less you need to remember to do manually, the more likely your project will stay up to date.
6767

68-
{% data variables.product.prodname_projects_v2 %} offers built-in workflows. For example, when an issue is closed, you can automatically set the status to "Done." {% ifversion projects-v2-auto-archive %}You can also configure built-in workflows to automatically archive items when they meet certain criteria{% ifversion projects-v2-auto-add %} and to automatically add items from a repository when they match a filter{% endif %}.{% endif %}
68+
{% data variables.product.prodname_projects_v2 %} offers built-in workflows. For example, when an issue is closed, you can automatically set the status to "Done". You can also configure built-in workflows to automatically archive items when they meet certain criteria and to automatically add items from a repository when they match a filter.
6969

7070
Additionally, {% data variables.product.prodname_actions %} and the GraphQL API enable you to automate routine project management tasks. For example, to keep track of pull requests awaiting review, you can create a workflow that adds a pull request to a project and sets the status to "needs review"; this process can be automatically triggered when a pull request is marked as "ready for review."
7171

72-
* For more information about the built-in workflows, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations)."{% ifversion projects-v2-auto-archive %}
73-
* For more information about automatically archiving items, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."{% endif %}{% ifversion projects-v2-auto-add %}
74-
* For more information about automatically adding items, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically)."{% endif %}
72+
* For more information about the built-in workflows, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations)."
73+
* For more information about automatically archiving items, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."
74+
* For more information about automatically adding items, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically)."
7575
* For an example workflow, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions)."
7676
* For more information about the API, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects)."
7777
* For more information about {% data variables.product.prodname_actions %}, see "[AUTOTITLE](/actions)."

content/issues/planning-and-tracking-with-projects/learning-about-projects/quickstart-for-projects.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ To indicate the purpose of the view, give it a descriptive name.
127127

128128
## Configure built-in automation
129129

130-
{% ifversion projects-v2-auto-add %}
131-
132130
Next, configure the auto-add workflow to automatically add issues opened in a repository with a specific label to your project.
133131

134132
{% data reusables.projects.access-workflows %}
@@ -141,8 +139,6 @@ Next, configure the auto-add workflow to automatically add issues opened in a re
141139
1. Next to the repository selection, type the filter criteria you want items to match before they are automatically added to your project. For example, to catch all issues and PRs opened with the label "bug", use `is:issue,pr label:bug`.
142140
1. To enable the new workflow, click **Save and turn on workflow**.
143141

144-
{% endif %}
145-
146142
Finally, add a built in workflow to set the status to **Todo** when an item is added to your project.
147143

148144
1. In the top-right, click {% octicon "kebab-horizontal" aria-label="The menu icon" %} to open the menu.

content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/adding-items-to-your-project.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ allowTitleToDifferFromFilename: true
1212

1313
{% note %}
1414

15-
**Note:** A project can contain a maximum of {% data variables.projects.item_limit %} items and {% data variables.projects.archived_item_limit %} archived items. {% ifversion projects-v2-auto-archive %}To learn more about automatically archiving items when they meet specific criteria, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."{% endif %}
15+
**Note:** A project can contain a maximum of {% data variables.projects.item_limit %} items and {% data variables.projects.archived_item_limit %} archived items. To learn more about automatically archiving items when they meet specific criteria, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."
1616

1717
{% endnote %}
1818

1919
## Adding issues and pull requests to a project
2020

21-
You have several options for adding issues and pull requests to your project. You can add them individually{% ifversion projects-v2-auto-add %}, automatically, {% endif %} or in bulk. Furthermore, you can include issues and pull requests from any organization, and you also have the ability to add draft issues that can be converted into regular issues later on. For more information, see "[Creating draft issues](#creating-draft-issues)."
21+
You have several options for adding issues and pull requests to your project. You can add them individually, automatically, or in bulk. Furthermore, you can include issues and pull requests from any organization, and you also have the ability to add draft issues that can be converted into regular issues later on. For more information, see "[Creating draft issues](#creating-draft-issues)."
2222

2323
{% ifversion projects-v2-timeline-events %}
2424

@@ -38,14 +38,10 @@ For more information about making bulk changes to your items after adding them,
3838

3939
{% endif %}
4040

41-
{% ifversion projects-v2-auto-add %}
42-
4341
### Automatically adding issues and pull requests
4442

4543
You can configure a built-in workflow to automatically add issues and pull requests from a repository when they meet specific filter criteria. For more information about configuring a workflow, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically)."
4644

47-
{% endif %}
48-
4945
### Pasting the URL of an issue or pull request
5046

5147
You can copy the URL of an issue or pull request into your clipboard and paste that into your project.

content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ allowTitleToDifferFromFilename: true
1818

1919
## Archiving items
2020

21-
You can archive an item to keep the context about the item in the project but remove it from the project views. {% ifversion projects-v2-auto-archive %}You can also configure your project's built-in workflows to automatically archive items that meet certain criteria. For more information, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."{% endif %}
21+
You can archive an item to keep the context about the item in the project but remove it from the project views. You can also configure your project's built-in workflows to automatically archive items that meet certain criteria. For more information, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."
2222

2323
{% data reusables.projects.select-an-item %}
2424
{% data reusables.projects.open-item-menu %}
@@ -31,7 +31,7 @@ You can archive an item to keep the context about the item in the project but re
3131
1. In the top-right, click {% octicon "kebab-horizontal" aria-label="More options" %}.
3232

3333
![Screenshot showing a project's menu bar. The menu icon is highlighted with an orange outline.](/assets/images/help/projects-v2/open-menu.png)
34-
34+
3535
1. In the menu, click {% octicon "archive" aria-hidden="true" %} **Archived items**.
3636
1. Optionally, to filter the archived items displayed, type your filter into the text box above the list of items. For more information about the available filters, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects)."
3737
1. To the left of each item title, select the items you would like to restore.

0 commit comments

Comments
 (0)