зеркало из https://github.com/github/docs.git
Коммит
e53e71820d
|
@ -1174,10 +1174,18 @@ jobs:
|
||||||
**Notes:**
|
**Notes:**
|
||||||
|
|
||||||
- {% data reusables.actions.schedule-delay %}
|
- {% data reusables.actions.schedule-delay %}
|
||||||
- In a public repository, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days. For information on re-enabling a disabled workflow, see "[AUTOTITLE](/enterprise-server@3.12/actions/using-workflows/disabling-and-enabling-a-workflow#enabling-a-workflow)."
|
|
||||||
- When the last user to commit to the cron schedule of a workflow is removed from the organization, the scheduled workflow will be disabled. If a user with `write` permissions to the repository makes a commit that changes the cron schedule, the scheduled workflow will be re-activated.
|
|
||||||
- This event will only trigger a workflow run if the workflow file is on the default branch.
|
- This event will only trigger a workflow run if the workflow file is on the default branch.
|
||||||
- Scheduled workflows will only run on the default branch.
|
- Scheduled workflows will only run on the default branch.
|
||||||
|
- In a public repository, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days. For information on re-enabling a disabled workflow, see "[AUTOTITLE](/enterprise-server@3.12/actions/using-workflows/disabling-and-enabling-a-workflow#enabling-a-workflow)."
|
||||||
|
- When the last user to commit to the cron schedule of a workflow is removed from the organization, the scheduled workflow will be disabled. If a user with `write` permissions to the repository makes a commit that changes the cron schedule, the scheduled workflow will be reactivated. Note that, in this situation, the workflow is not reactivated by any change to the workflow file; you must alter the `cron` value and commit this change.
|
||||||
|
|
||||||
|
**Example:**
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "15 4,5 * * *" # <=== Change this value
|
||||||
|
```
|
||||||
|
|
||||||
{% endnote %}
|
{% endnote %}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче