зеркало из https://github.com/github/docs.git
9713 projects ga auto add auto archive (#35337)
Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
This commit is contained in:
Родитель
0a23f97eb2
Коммит
9ed2750f3f
|
@ -1,10 +1,9 @@
|
|||
---
|
||||
title: Adding items automatically
|
||||
intro: You can configure your project to automatically add items from a repository that match a filter.
|
||||
intro: You can configure your project's built-in workflows to automatically add items from a repository that match a filter.
|
||||
versions:
|
||||
feature: projects-v2-auto-add
|
||||
type: tutorial
|
||||
product: 'The auto-add workflow is available as a beta release for projects owned by organizations using {% data variables.product.prodname_ghe_cloud %}.'
|
||||
topics:
|
||||
- Projects
|
||||
---
|
||||
|
@ -27,29 +26,40 @@ The auto-add workflow supports a subset of filters. You can use the following fi
|
|||
|
||||
All filters, other than `no`, support negation. For example, you could use `-label:bug` to add issues that do not have the "bug" label.
|
||||
|
||||
The auto-add workflow is limited per plan.
|
||||
|
||||
| Product | Maximum auto-add workflows |
|
||||
|------- | ------- |
|
||||
| {% data variables.product.prodname_free_user %} | 1 |
|
||||
| {% data variables.product.prodname_pro %} | 5 |
|
||||
| {% data variables.product.prodname_team %} | 5 |
|
||||
| {% data variables.product.prodname_ghe_cloud %} | 20 |
|
||||
| {% data variables.product.prodname_ghe_server %} | 20 |
|
||||
|
||||
|
||||
## Configuring the auto-add workflow in your project
|
||||
|
||||
{% data reusables.projects.access-workflows %}
|
||||
1. In the "Default workflows" list, click **Auto-add to project**.
|
||||
|
||||
|
||||
![Screenshot showing auto-add workflow](/assets/images/help/projects-v2/workflow-autoadd.png)
|
||||
|
||||
|
||||
1. To start editing the workflow, in the top right, click **Edit**.
|
||||
|
||||
|
||||
![Screenshot showing edit button](/assets/images/help/projects-v2/workflow-start-editing.png)
|
||||
|
||||
|
||||
1. Under "Filters", select the repository you want to add items from.
|
||||
|
||||
|
||||
![Screenshot showing repository select](/assets/images/help/projects-v2/workflow-autoadd-repo.png)
|
||||
|
||||
|
||||
1. Next to the repository selection, type the filter criteria you want items to match before they are automatically added to your project.
|
||||
|
||||
|
||||
![Screenshot showing repository select](/assets/images/help/projects-v2/workflow-autoadd-filter.png)
|
||||
|
||||
|
||||
1. To enable the new workflow, click **Save and turn on workflow**.
|
||||
|
||||
|
||||
![Screenshot showing autoadd workflows](/assets/images/help/projects-v2/workflow-save-and-turn-on.png)
|
||||
|
||||
|
||||
|
||||
## Further reading
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: Archiving items automatically
|
||||
shortTitle: Archiving automatically
|
||||
intro: You can configure your project's built-in workflows to automatically archive items that meet specific criteria.
|
||||
shortTitle: Archiving items automatically
|
||||
intro: You can configure your project's built-in workflows to automatically archive items that match a filter.
|
||||
versions:
|
||||
feature: projects-v2-auto-archive
|
||||
type: tutorial
|
||||
|
@ -9,12 +9,6 @@ topics:
|
|||
- Projects
|
||||
---
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** Built-in workflows are available as part of a limited beta.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
## About automatically archiving items
|
||||
|
||||
You can configure your project's built-in workflows to automatically archive items. Archiving items will help you stay below the limit of {% data variables.projects.item_limit %} items in each project.
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# Issue 8996
|
||||
# ProjectV2 auto-adding
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
ghes: '>=3.9'
|
||||
|
|
|
@ -3,3 +3,4 @@
|
|||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
ghes: '>=3.9'
|
||||
|
|
Загрузка…
Ссылка в новой задаче