Merge pull request #50174 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot 2024-04-16 12:55:53 -04:00 коммит произвёл GitHub
Родитель c7d9a691f2 93e178fa24
Коммит e53e71820d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -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 %}